A copy of s in temporary storage. It must not be freed; it lasts until the temporary storage is
reset.
copy_temporary_string :: (s: string) -> string
Parameters
- s: string
Returns
- string
copy := copy_temporary_string("scratch");
assert(copy == "scratch");
reset_temporary_storage();