duktape
duktape copied to clipboard
Clean up duk_suspend/duk_resume suspend state struct declaration
Currently external declaration is a struct with a fixed size byte array, while the internal struct has a separate declaration only visible to internals (with a byte size smaller than the external definition). This works but causes application call sites to reserve more stack than necessary for the suspend state.