Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ set_gc_tracked
Method
set_gc_tracked
crates/vm/src/object/core.rs:1584–1586 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
1582
/// _PyObject_GC_TRACK
1583
#[inline]
1584
pub(crate) fn set_gc_tracked(&self) {
1585
self.set_gc_bit(GcBits::TRACKED);
1586
}
1587
1588
/// _PyObject_GC_UNTRACK
1589
#[inline]
Callers
1
track_object
Method · 0.80
Calls
1
set_gc_bit
Method · 0.80
Tested by
no test coverage detected