Add SHAPE_ID_HAS_IVAR_MASK for quick ivar check

This allow checking if an object has ivars with just a shape_id
mask.
This commit is contained in:
Jean Boussier 2025-06-13 11:23:32 +02:00
parent fb0dbbc0e6
commit a99d941cac
Notes: git 2025-06-13 17:46:42 +00:00
7 changed files with 41 additions and 13 deletions

View file

@ -30,6 +30,7 @@ enum ruby_rstring_private_flags {
#endif
/* string.c */
VALUE rb_str_dup_m(VALUE str);
VALUE rb_fstring(VALUE);
VALUE rb_fstring_cstr(const char *str);
VALUE rb_fstring_enc_new(const char *ptr, long len, rb_encoding *enc);