summaryrefslogtreecommitdiff
path: root/internal/hash.h
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2023-09-24 09:07:52 -0400
committerPeter Zhu <[email protected]>2023-09-24 09:07:52 -0400
commitf43dac0df29c137ae966362f7faf26084468a0fb ()
tree16a39f84979a86a57727dbf829760a3fff14c8ee /internal/hash.h
parent36cdf163dfbcac5b0e7fedbd55c817b5d5c971fb (diff)
Add rb_hash_free for the GC to use
-rw-r--r--internal/hash.h1
1 files changed, 1 insertions, 0 deletions
@@ -87,6 +87,7 @@ int rb_hash_stlike_delete(VALUE hash, st_data_t *pkey, st_data_t *pval);
int rb_hash_stlike_foreach_with_replace(VALUE hash, st_foreach_check_callback_func *func, st_update_callback_func *replace, st_data_t arg);
int rb_hash_stlike_update(VALUE hash, st_data_t key, st_update_callback_func *func, st_data_t arg);
VALUE rb_ident_hash_new_with_size(st_index_t size);
static inline unsigned RHASH_AR_TABLE_SIZE_RAW(VALUE h);
static inline VALUE RHASH_IFNONE(VALUE h);