summaryrefslogtreecommitdiff
path: root/internal/object.h
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-04-30 09:42:57 +0200
committerJean Boussier <[email protected]>2025-05-08 07:58:05 +0200
commit0ea210d1ea257162642969edce665935cc87c643 ()
tree501f2563c5f81e19c408e32cda63b823a5785df9 /internal/object.h
parent4e30b77b90e463997de265af1e7a5819b4c46fcc (diff)
Rename `ivptr` -> `fields`, `next_iv_index` -> `next_field_index`
Ivars will longer be the only thing stored inline via shapes, so keeping the `iv_index` and `ivptr` names would be confusing. Instance variables won't be the only thing stored inline via shapes, so keeping the `ivptr` name would be confusing. `field` encompass anything that can be stored in a VALUE array. Similarly, `gen_ivtbl` becomes `gen_fields_tbl`.
Notes: Merged: https://.com/ruby/ruby/pull/13159
-rw-r--r--internal/object.h2
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@
#include "ruby/ruby.h" /* for VALUE */
/* object.c */
-size_t rb_obj_embedded_size(uint32_t numiv);
VALUE rb_class_allocate_instance(VALUE klass);
VALUE rb_class_search_ancestor(VALUE klass, VALUE super);
NORETURN(void rb_undefined_alloc(VALUE klass));