diff options
author | Jean Boussier <[email protected]> | 2025-05-09 08:58:07 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-05-09 10:22:51 +0200 |
commit | ea772508470fbde15154c816b36fdf70f4c8735a () | |
tree | 8a58ba2e84b261fefa6b7138e22a3aca017ab512 /ext | |
parent | 0b81359b3f0df5b663b21562660877f8ef303e00 (diff) |
Rename `RB_OBJ_SHAPE` -> `rb_obj_shape`
As well as `RB_OBJ_SHAPE_ID` -> `rb_obj_shape_id` and `RSHAPE` is now a simple alias for `rb_shape_lookup`. I tried to turn all these into `static inline` but I'm having trouble with `RUBY_EXTERN rb_shape_tree_t *rb_shape_tree_ptr;` not being exposed as I'd expect.
Notes: Merged: https://.com/ruby/ruby/pull/13283
-rw-r--r-- | ext/objspace/objspace_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -414,7 +414,7 @@ dump_object(VALUE obj, struct dump_config *dc) dump_append(dc, obj_type(obj)); dump_append(dc, "\""); - size_t shape_id = RB_OBJ_SHAPE_ID(obj); dump_append(dc, ", \"shape_id\":"); dump_append_sizet(dc, shape_id); |