Cyclone Scheme  0.4

◆ make_string

#define make_string (   cs,
 
)
Value:
{ int len = strlen(s); \
cs.hdr.mark = gc_color_red; \
cs.hdr.grayed = 0; \
cs.tag = string_tag; \
cs.len = len; \
cs.str = alloca(sizeof(char) * (len + 1)); \
memcpy(cs.str, s, len + 1);}
#define gc_color_red
Definition: types.h:239
Definition: types.h:54
char * str
Definition: types.h:706
The string type.
Definition: types.h:702

Create a new string in the nursery