summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorRory OConnell <[email protected]>2020-07-13 15:59:24 -0700
committerRory OConnell <[email protected]>2020-07-13 15:59:24 -0700
commit6f945a09b4a09828667da6d4bad85b8ef50baf9c (patch)
tree3bb7d59185cb7e05fb0fa4ffcbad9f4adbe09509 /include
parente7bd7d0eaf677f62d86f27c2e9a917faa5a7d419 (diff)
downloadmruby-6f945a09b4a09828667da6d4bad85b8ef50baf9c.tar.gz
mruby-6f945a09b4a09828667da6d4bad85b8ef50baf9c.zip
Use object iv table size in calculation
Diffstat (limited to 'include')
-rw-r--r--include/mruby/variable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby/variable.h b/include/mruby/variable.h
index 6e918cf57..5559f6606 100644
--- a/include/mruby/variable.h
+++ b/include/mruby/variable.h
@@ -35,6 +35,7 @@ mrb_value mrb_vm_cv_get(mrb_state*, mrb_sym);
void mrb_vm_cv_set(mrb_state*, mrb_sym, mrb_value);
mrb_value mrb_vm_const_get(mrb_state*, mrb_sym);
void mrb_vm_const_set(mrb_state*, mrb_sym, mrb_value);
+mrb_int mrb_obj_iv_tbl_memsize(mrb_state*, mrb_value);
MRB_API mrb_value mrb_const_get(mrb_state*, mrb_value, mrb_sym);
MRB_API void mrb_const_set(mrb_state*, mrb_value, mrb_sym, mrb_value);
MRB_API mrb_bool mrb_const_defined(mrb_state*, mrb_value, mrb_sym);