diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-04-20 01:19:47 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-04-20 01:19:47 +0000 |
commit | 91793b8967e0531bd1159a8ff0cc7e50739c7620 (patch) | |
tree | 87ba81af05456fe8bdeb29227a968a413e480635 /symbol.h | |
parent | e3d547f6df76a48834cfd9893baf4f51567b3afb (diff) |
Add `GC.compact` again.
🙏
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'symbol.h')
-rw-r--r-- | symbol.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -54,6 +54,13 @@ id_type(ID id) typedef uint32_t rb_id_serial_t; +typedef struct { + rb_id_serial_t last_id; + st_table *str_sym; + VALUE ids; + VALUE dsymbol_fstr_hash; +} rb_symbols_t; + static inline rb_id_serial_t rb_id_to_serial(ID id) { |