Cyclone Scheme  0.28.0

◆ alloca_empty_bytevector

#define alloca_empty_bytevector (   v)
Value:
bytevector_type *v = alloca(sizeof(bytevector_type)); \
v->hdr.mark = gc_color_red; \
v->hdr.grayed = 0; \
v->hdr.immutable = 0; \
v->tag = bytevector_tag; \
v->len = 0; \
v->data = NULL;

Create an empty bytevector in the nursery using alloca

gc_color_red
#define gc_color_red
Definition: types.h:297
bytevector_type
Bytevector type.
Definition: types.h:1209
bytevector_tag
@ bytevector_tag
Definition: types.h:54