7 CSTRING_LITERAL(hello
, "hello");
9 if (cstring_equal(hello
,t
)) {
10 cstring_cat(ret
, "equal");
12 cstring_cat(ret
, "not equal");
14 return cstring_grab(CSTRING(ret
));
20 cstring_printf(a
, "%s", "hello");
21 cstring b
= foo(CSTRING(a
));
22 printf("%s\n", b
->cstr
);
23 cstring_printf(a
, "very long string %01024d",0);
24 printf("%s\n", CSTRING(a
)->cstr
);