mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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:
parent
fb0dbbc0e6
commit
a99d941cac
Notes:
git
2025-06-13 17:46:42 +00:00
7 changed files with 41 additions and 13 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue