Basic module

talloc

procedureSource

Allocates size bytes in temporary storage. They are not cleared, must not be freed, and last until the temporary storage is reset.

talloc :: (size: s64) -> *void

Parameters

size: s64

Returns

*void
Example↗
bytes := cast(*u8) talloc(32);
bytes[0] = 1;
reset_temporary_storage();

See also