Cyclone Scheme  0.28.0

◆ gc_allocated_bytes()

size_t gc_allocated_bytes ( object  obj,
gc_free_list q,
gc_free_list r 
)

Get the number of bytes that will be allocated for obj.

Parameters
objObject to inspect
qPrevious free list pointer, set to NULL if not applicable
rNext free list pointer, set to NULL if not applicable
Returns
Number of bytes, including any needed for alignment