#[unsafe(no_mangle)]pub extern "C" fn comet_heap_add_constraint(
heap: *mut Heap,
data: *mut u8,
callback: extern "C" fn(*mut u8, *mut Visitor),
)Expand description
Add GC constraint to the Comet Heap. Each constraint is executed when marking starts to obtain list of root objects.