Cyclone Scheme  0.28.0

◆ transport_stack_value()

object transport_stack_value ( gc_thread_data data,
object  var,
object  value,
int *  run_gc 
)

new write barrier This function determines if a mutation introduces a pointer to a stack object from a heap object, and if so, either copies the object to the heap or lets the caller know a minor GC must be performed.

Parameters
dataCurrent thread's data object
varObject being mutated
valueNew value being associated to var
run_gcOUT parameter, returns 1 if minor GC needs to be invoked
Returns
Pointer to var object