A copy of s in temporary storage followed by a zero byte, for passing to C. It must not be freed; it lasts until the
temporary storage is reset.
temp_c_string :: (s: string) -> *u8
Parameters
- s: string
Returns
- *u8
c := temp_c_string("hi");
assert(c[0] == #char "h" && c[2] == 0);
reset_temporary_storage();