Cyclone Scheme  0.28.0

◆ gc_is_stack_obj

#define gc_is_stack_obj (   low_limit,
  thd,
  obj 
)
Value:
(stack_overflow(((object)low_limit), ((object)obj)) && \
stack_overflow(((object)obj), ((object)((gc_thread_data *)thd)->stack_start)))

Determine if object lives on the thread's stack.

Parameters
low_limitTemporary object at the current "end" of the stack
thdMutator's thread data
objObject to inspect
Returns
True if obj is on the mutator's stack, false otherwise
gc_thread_data_t
Definition: types.h:322
stack_overflow
#define stack_overflow(x, y)
Definition: types.h:517