mirror of
https://github.com/pocketpy/pocketpy
synced 2026-05-12 21:23:36 +00:00
Update gc.c
This commit is contained in:
parent
a3a55e8961
commit
811755f924
@ -54,7 +54,7 @@ static bool gc_is_tracked(int argc, py_Ref argv) {
|
|||||||
py_newbool(py_retval(), false);
|
py_newbool(py_retval(), false);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
bool res = argv->_obj->gc_marked & 0b10;
|
bool res = !(argv->_obj->gc_marked & 0b10);
|
||||||
py_newbool(py_retval(), res);
|
py_newbool(py_retval(), res);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user