Runtime native FFIFunction constructor exported by node-ctypes: binds a
raw native function address directly. Its instances are
NativeFFIFunction objects (instanceof FFIFunction is true for
them only). The callables returned by CDLL.func, library attributes
and CFUNCTYPE prototypes are JS functions, not instances: for them
instanceof FFIFunction is always false, although they have the
FFIFunction interface type.
Runtime native
FFIFunctionconstructor exported bynode-ctypes: binds a raw native function address directly. Its instances are NativeFFIFunction objects (instanceof FFIFunctionis true for them only). The callables returned by CDLL.func, library attributes andCFUNCTYPEprototypes are JS functions, not instances: for theminstanceof FFIFunctionis alwaysfalse, although they have the FFIFunction interface type.