diff options
Diffstat (limited to 'src/env.h')
| -rw-r--r-- | src/env.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -25,6 +25,14 @@ struct pw_env_ctx { }; /** + * An invocation frame exception handler. + */ +struct pw_env_frame { + struct pw_env_frame *parent; + jmp_buf buf; +}; + +/** * The Web Assembly host environment. * * This holds the required state to implement the host functions imported by @@ -36,6 +44,7 @@ struct w2c_env { struct pw_env_ctx context; struct pw_env_data { + struct pw_env_frame *frame; uint32_t dynamictop; uint32_t tablebase; uint32_t mainloop; |
