extern C entry point to check if NumericEvalValue is float or int
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -140,4 +140,9 @@ namespace Porygon::Evaluation {
|
|||||||
return new NumericEvalValue(- std::get<int64_t >(_intValue));
|
return new NumericEvalValue(- std::get<int64_t >(_intValue));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern "C"{
|
||||||
|
bool IsNumericValueFloat(NumericEvalValue* val){
|
||||||
|
return val->IsFloat();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user