Add BigInt to se::Value (#3706)

This commit is contained in:
江战
2021-07-14 09:48:52 +08:00
committed by GitHub
parent cad7c02a67
commit fcb82a20d6
16 changed files with 428 additions and 483 deletions
@@ -437,7 +437,7 @@ bool JavaScriptJavaBridge::convertReturnValue(ReturnValue retValue, ValueType ty
ret->setInt32(retValue.intValue);
break;
case JavaScriptJavaBridge::ValueType::LONG:
ret->setLong(retValue.longValue); //NOLINT(bugprone-narrowing-conversions)
ret->setDouble(static_cast<double>(retValue.longValue));
break;
case JavaScriptJavaBridge::ValueType::FLOAT:
ret->setFloat(retValue.floatValue);