Method Try
Try(ref AllocatorManager.Block)
Invoke the allocator function.
Declaration
public int Try(ref AllocatorManager.Block block)
Parameters
Type | Name | Description |
---|---|---|
AllocatorManager.Block | block | The block to allocate, deallocate, or reallocate. See Try(ref AllocatorManager.Block) |
Returns
Type | Description |
---|---|
Int32 | 0 if successful. Otherwise, returns the error code from the allocator function. |