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