IMPORT_NATIVE
Callable
Parameters
name: string
name of the module, as registered from native code
target: object
target object, where all the methods from native module will be injected
Returns any
name of the module, as registered from native code
target object, where all the methods from native module will be injected
Injects methods from C++ into the target object to use in the mod.