mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 04:25:06 +02:00
Set globals_changed
This commit is contained in:
parent
deb2337576
commit
7a2531505d
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ object Cyc_global_set2(void *thd, object cont, object * glo, object value)
|
||||||
value = share_object(thd, NULL, value, &do_gc);
|
value = share_object(thd, NULL, value, &do_gc);
|
||||||
gc_mut_update((gc_thread_data *) thd, *glo, value);
|
gc_mut_update((gc_thread_data *) thd, *glo, value);
|
||||||
*(glo) = value;
|
*(glo) = value;
|
||||||
// ((gc_thread_data *) thd)->globals_changed = 1; // No longer needed??
|
((gc_thread_data *) thd)->globals_changed = 1; // No longer needed??
|
||||||
if (do_gc) {
|
if (do_gc) {
|
||||||
object buf[1]; buf[0] = value;
|
object buf[1]; buf[0] = value;
|
||||||
GC(thd, cont, buf, 1);
|
GC(thd, cont, buf, 1);
|
||||||
|
|
Loading…
Add table
Reference in a new issue