diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2024-06-19 00:07:50 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2024-06-19 00:07:50 -0700 |
commit | bd7ae6d2b8476292f22b193a6ec286e9823a28b3 (patch) | |
tree | 9c9d0368c5613fa69b0eeb3c3121ecae80854785 /stdlib/ifa.tl | |
parent | dd839dc6ed1abf51645f5e69572ab9e106272c33 (diff) | |
download | txr-bd7ae6d2b8476292f22b193a6ec286e9823a28b3.tar.gz txr-bd7ae6d2b8476292f22b193a6ec286e9823a28b3.tar.bz2 txr-bd7ae6d2b8476292f22b193a6ec286e9823a28b3.zip |
gc: protect symbol used for cobj class reg.
* gc.c (gc_prot_array_s): New symbol variable.
(gc_late_init): Initialize gc_prot_array_s. Use it when
registering prot_array_cls. The _s variables are gc-protected
by registrations in the protsym.c module which gets regularly
updated, at least before every software release.
The cobj class array is not traversed by gc.
Diffstat (limited to 'stdlib/ifa.tl')
0 files changed, 0 insertions, 0 deletions