summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2025-07-18 10:06:58 -0400
committerPeter Zhu <peter@peterzhu.ca>2025-07-21 10:58:30 -0400
commit2bcb155b49bb421ee82c0d5980546a5071113407 (patch)
treeb84126c3ecdabdbc5ad4251ed8a6adeb928325c1 /internal
parentf05ee26a1f4814f4fc88d32099f4d2bbc9aca824 (diff)
Convert global symbol table to concurrent set
Diffstat (limited to 'internal')
-rw-r--r--internal/symbol.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/symbol.h b/internal/symbol.h
index 1a066af0e7..131cddef90 100644
--- a/internal/symbol.h
+++ b/internal/symbol.h
@@ -31,12 +31,11 @@ PUREFUNC(int rb_is_const_sym(VALUE sym));
PUREFUNC(int rb_is_attrset_sym(VALUE sym));
ID rb_make_internal_id(void);
ID rb_make_temporary_id(size_t n);
+bool rb_obj_is_symbol_table(VALUE obj);
+void rb_sym_global_symbol_table_foreach_weak_reference(int (*callback)(VALUE *key, void *data), void *data);
void rb_gc_free_dsymbol(VALUE);
int rb_static_id_valid_p(ID id);
-/* vm.c */
-void rb_free_static_symid_str(void);
-
#if __has_builtin(__builtin_constant_p)
#define rb_sym_intern_ascii_cstr(ptr) \
(__builtin_constant_p(ptr) ? \