diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-07-03 21:52:11 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-07-03 21:52:11 +0900 |
| commit | fc27f71289b84f700efc780ae79eea66f212c0c4 (patch) | |
| tree | 9aeea40a4ff3d674c11ee4c078169045ee5e874b /src/parse.y | |
| parent | a1af20baa9f9a96c2a8cd6a9a1505fe53799e9c9 (diff) | |
| download | mruby-fc27f71289b84f700efc780ae79eea66f212c0c4.tar.gz mruby-fc27f71289b84f700efc780ae79eea66f212c0c4.zip | |
add new function mrb_parser_free()
Diffstat (limited to 'src/parse.y')
| -rw-r--r-- | src/parse.y | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parse.y b/src/parse.y index 63d39ec5f..b0d399a98 100644 --- a/src/parse.y +++ b/src/parse.y @@ -4775,6 +4775,11 @@ mrb_parser_new(mrb_state *mrb) return p; } +void +mrb_parser_free(parser_state *p) { + mrb_pool_close(p->pool); +} + mrbc_context* mrbc_context_new(mrb_state *mrb) { |
