Using duk_require_string + duk_require_function only works one
Lyuu17 opened this issue · comments
How is addCommand registered as a global, could you show that call site? In particular what is the "num args" for it?
How is addCommand registered as a global, could you show that call site? In particular what is the "num args" for it?
hell, sorry. I was passing 1 argcount when registering it. I though duktape would throw an error or something if more args were passed to the function or something
Good that it was resolved 👍