chickadee » jiffi » make-gc-root

make-gc-root valueprocedure

Creates a GC root for the given Scheme value, and returns a pointer to the GC root. The pointer can be passed to gc-root-ref to get a reference to value again.

This procedure uses CHICKEN_new_gc_root and CHICKEN_gc_root_set.