aboutsummaryrefslogtreecommitdiffstats
path: root/node.h
diff options
context:
space:
mode:
authorLourens Naudé <lourens@bearmetal.eu>2019-04-22 23:24:52 +0100
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-23 16:22:34 +0900
commit90c4bd2d2bd10b19c2b09834396553742bc7e8a4 (patch)
treeb28ee0776163ca2fede687cee82547a202c3e494 /node.h
parentab087ecb4dd21ea5f7d1cbadd8298f2f1a3c9ce9 (diff)
downloadruby-90c4bd2d2bd10b19c2b09834396553742bc7e8a4.tar.gz
Let memory sizes of the various IMEMO object types be reflected correctly
[Feature #15805] Closes: https://github.com/ruby/ruby/pull/2140
Diffstat (limited to 'node.h')
-rw-r--r--node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.h b/node.h
index a1f01ed088..3741e649ca 100644
--- a/node.h
+++ b/node.h
@@ -406,6 +406,7 @@ rb_ast_t *rb_ast_new(void);
void rb_ast_mark(rb_ast_t*);
void rb_ast_dispose(rb_ast_t*);
void rb_ast_free(rb_ast_t*);
+size_t rb_ast_memsize(const rb_ast_t*);
void rb_ast_add_mark_object(rb_ast_t*, VALUE);
NODE *rb_ast_newnode(rb_ast_t*);
void rb_ast_delete_node(rb_ast_t*, NODE *n);