diff options
author | Matt Valentine-House <[email protected]> | 2022-02-01 21:36:29 +0000 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2022-02-03 15:07:35 -0500 |
commit | 9fab2c1a1a5f5e429eb88eac29d250685dcc4354 (patch) | |
tree | 07b1d1f6e8beff5be7654a25faa29672dbc3746a /gc.h | |
parent | a3caf196d9d060341924c1e37dd9f60dde8252f6 (diff) |
Add the size pool slot size to the output of ObjectSpace.dump/dump_all
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5520
Diffstat (limited to 'gc.h')
-rw-r--r-- | gc.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -136,6 +136,8 @@ void rb_objspace_each_objects_without_setup( int (*callback)(void *, void *, size_t, void *), void *data); +size_t rb_gc_obj_slot_size(VALUE obj); + RUBY_SYMBOL_EXPORT_END #endif /* RUBY_GC_H */ |