Cyclone Scheme  0.28.0

◆ set_pair

#define set_pair (   n,
  a,
 
)
Value:
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;

Set members of the given pair

Parameters
n- Pointer to a pair object
a- Object to assign to car
d- Object to assign to cdr
gc_color_red
#define gc_color_red
Definition: types.h:297
pair_tag
@ pair_tag
Definition: types.h:64