diff options
| author | dearblue <[email protected]> | 2020-01-19 21:42:09 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2020-01-19 21:42:09 +0900 |
| commit | 893cc2780cbf866a28a74a98128ffe8eefb20d03 (patch) | |
| tree | c2e0d9031b09b6754f9faa26ea0a0b8fb98185b4 /include | |
| parent | f7abda14370e6341dad180da3d04f8f2f4ff0cf0 (diff) | |
| download | mruby-893cc2780cbf866a28a74a98128ffe8eefb20d03.tar.gz mruby-893cc2780cbf866a28a74a98128ffe8eefb20d03.zip | |
Add `mrbc_cleanup_local_variables()` with `mrbc_context`; ref #4931
Clean up defined local variables.
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/compile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby/compile.h b/include/mruby/compile.h index 69dfd1d50..69ba95f33 100644 --- a/include/mruby/compile.h +++ b/include/mruby/compile.h @@ -42,6 +42,7 @@ MRB_API mrbc_context* mrbc_context_new(mrb_state *mrb); MRB_API void mrbc_context_free(mrb_state *mrb, mrbc_context *cxt); MRB_API const char *mrbc_filename(mrb_state *mrb, mrbc_context *c, const char *s); MRB_API void mrbc_partial_hook(mrb_state *mrb, mrbc_context *c, int (*partial_hook)(struct mrb_parser_state*), void*data); +MRB_API void mrbc_cleanup_local_variables(mrb_state *mrb, mrbc_context *c); /* AST node structure */ typedef struct mrb_ast_node { |
