gc_disable()
function gc_disable(): void
Disables automatic collection of circular references.
Parameters: none.
Returns: void
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported through a declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/core/gc_disable.rs).
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how gc_disable is implemented in the compiler, see the internals page.