quantumech Apr 22nd, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Module.onRuntimeInitialized = function()
- // Get memory address of func()
- var funcPtr = addFunction(func, 'v');
- // Invoke C method that calls function pointer
RAW Paste Data