Перейти к основному содержанию

IMPORT_NATIVE

Callable

  • IMPORT_NATIVE(name: string, target: object): any

  • Injects methods from C++ into the target object to use in the mod.


    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