summaryrefslogtreecommitdiff
path: root/inits.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-03-06 14:45:02 -0500
committerPeter Zhu <peter@peterzhu.ca>2023-03-10 09:32:10 -0500
commitf98a7fd28d6eedfb80e5d7d1a92d67aa3dc4783f (patch)
tree708f7767536d811c812393ffb1d2a71039bef09b /inits.c
parentdd47ce10dbfca9292e88bbbd3d7f37e3ea503034 (diff)
downloadruby-f98a7fd28d6eedfb80e5d7d1a92d67aa3dc4783f.tar.gz
Move WeakMap and WeakKeyMap code to weakmap.c
These classes don't belong in gc.c as they're not actually part of the GC. This commit refactors the code by moving all the code into a weakmap.c file.
Diffstat (limited to 'inits.c')
-rw-r--r--inits.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/inits.c b/inits.c
index f41103ca26..8b66334a4d 100644
--- a/inits.c
+++ b/inits.c
@@ -62,6 +62,7 @@ rb_call_inits(void)
CALL(Binding);
CALL(Math);
CALL(GC);
+ CALL(WeakMap);
CALL(Enumerator);
CALL(Ractor);
CALL(VM);