Cyclone Scheme  0.9
#define make_string (   cs,
 
)
Value:
{ int len = strlen(s); \
cs.hdr.mark = gc_color_red; \
cs.hdr.grayed = 0; \
cs.tag = string_tag; \
cs.num_cp = len; \
cs.len = len; \
cs.str = alloca(sizeof(char) * (len + 1)); \
memcpy(cs.str, s, len + 1);}
#define gc_color_red
Definition: types.h:265
Definition: types.h:56
char * str
Definition: types.h:814
The string type.
Definition: types.h:809

Create a new string in the nursery