Closed jLn0n closed 2 months ago
What do you mean by "wrapping function into wasm memory"? Can you elaborate and tell what are you trying to achieve?
What do you mean by "wrapping function into wasm memory"? Can you elaborate and tell what are you trying to achieve?
i want to add a function into the luastate as a new global function, my problem is i dont know how to wrap the function into a wasm-compatible pointer thing
i figured this out in my mind, but no prototypes for now :(
i might have to add a new function to FUNC_LIST table then register the functions then blablabla
i couldn't seem to figure out how to wrap function into wasm memory as it seems like there is no exposed function on wrapping function to the memory