extern C entry point to check if NumericEvalValue is float or int
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2019-09-22 13:30:25 +02:00
parent 8dcf31cb40
commit f4277d47c3
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 5 additions and 0 deletions

View File

@ -140,4 +140,9 @@ namespace Porygon::Evaluation {
return new NumericEvalValue(- std::get<int64_t >(_intValue));
}
extern "C"{
bool IsNumericValueFloat(NumericEvalValue* val){
return val->IsFloat();
}
}
}