gc_enable()
function gc_enable(): void
Enables 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_enable.rs).
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how gc_enable is implemented in the compiler, see the internals page.