Cyclone Scheme  0.28.0

◆ alloca_pair

#define alloca_pair (   n,
  a,
 
)
Value:
pair_type *n = alloca(sizeof(pair_type)); \
n->hdr.mark = gc_color_red; \
n->hdr.grayed = 0; \
n->hdr.immutable = 0; \
n->tag = pair_tag; \
n->pair_car = a; \
n->pair_cdr = d;

Create a new pair in the nursery using alloca

gc_color_red
#define gc_color_red
Definition: types.h:297
pair_type
The pair (cons) type.
Definition: types.h:1247
pair_tag
@ pair_tag
Definition: types.h:64