MCPcopy Create free account
hub / github.com/BabylonJS/BabylonNative / ToNapi

Function ToNapi

Dependencies/napi/source/js_native_api_JavaScriptCore.cc:122–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121
122 napi_value ToNapi(const JSValueRef value) {
123 return reinterpret_cast<napi_value>(const_cast<OpaqueJSValue*>(value));
124 }
125
126 napi_value* ToNapi(const JSValueRef* values) {
127 return reinterpret_cast<napi_value*>(const_cast<OpaqueJSValue**>(values));

Callers 15

napi_set_error_codeFunction · 0.85
CreateMethod · 0.85
CallAsConstructorMethod · 0.85
CreateMethod · 0.85
CallAsFunctionMethod · 0.85
CreateMethod · 0.85
CreateMethod · 0.85
napi_get_propertyFunction · 0.85
napi_get_named_propertyFunction · 0.85
napi_get_elementFunction · 0.85
napi_delete_elementFunction · 0.85
napi_get_prototypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected