Cyclone Scheme  0.9
#define make_utf8_string_with_len (   cs,
  s,
  length,
  num_code_points 
)
Value:
{ int len = length; \
cs.hdr.grayed = 0; \
cs.tag = string_tag; cs.len = len; \
cs.num_cp = num_code_points; \
cs.str = alloca(sizeof(char) * (len + 1)); \
memcpy(cs.str, s, len); \
cs.str[len] = '\0';}
int len
Definition: types.h:813
#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
unsigned char mark
Definition: types.h:240
gc_header_type hdr
Definition: types.h:810

Create a new string with the given length (so it does not need to be computed)