Cyclone Scheme  0.28.0

◆ alloca_empty_vector

#define alloca_empty_vector (   v)
Value:
vector_type *v = alloca(sizeof(vector_type)); \
v->hdr.mark = gc_color_red; \
v->hdr.grayed = 0; \
v->hdr.immutable = 0; \
v->tag = vector_tag; \
v->num_elements = 0; \
v->elements = NULL;

Create an empty vector in the nursery using alloca

vector_tag
@ vector_tag
Definition: types.h:69
gc_color_red
#define gc_color_red
Definition: types.h:297
vector_type
Vector type.
Definition: types.h:1170