This commit is contained in:
Luis Blanco 2019-08-18 15:34:07 +03:00
parent 2600de3f8f
commit 449dc12afd
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
#define JS_STR(VAL) Napi::String::New(env, VAL)
#define JS_NUM(VAL) Napi::Number::New(env, static_cast<double>(VAL))
#define JS_EXT(VAL) Napi::External::New(env, reinterpret_cast<void*>(VAL))
#define JS_EXT(VAL) Napi::External<void*>::New(env, reinterpret_cast<void*>(VAL))
#define JS_BOOL(VAL) Napi::Boolean::New(env, static_cast<bool>(VAL))
#define JS_FUN(VAL) Napi::Function::New(env, VAL)
#define JS_OBJ(VAL) Napi::Object::New(env, VAL)