Class Allocator
public class Allocator
- Inheritance
-
Allocator
- Inherited Members
Methods
Free(AllocatorHandle)
Calls native method g_allocator_free.
public static extern void Free(AllocatorHandle allocator)
Parameters
allocator
AllocatorHandleTransfer ownership: None Nullable: False
New(NonNullableUtf8StringHandle, uint)
Calls native function g_allocator_new.
public static extern AllocatorUnownedHandle New(NonNullableUtf8StringHandle name, uint nPreallocs)
Parameters
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
nPreallocs
uintTransfer ownership: None Nullable: False
Returns
- AllocatorUnownedHandle
Transfer ownership: None Nullable: False