Skip to content

mem.Alloc

Syntax

mem.Alloc(size) → ptr

Parameters

sizeint
Size of memory to allocate.

Returns

Returns ptr.