Allocate a block of memory.
The block must later by freed by DOFMem_Free.
- Resource Management:
- This function allocates resources that must later be freed by calling DOFMem_Free.
- Parameters
-
size | The size of the block of memory requested. This must be greater than 0. |
- Returns
- A pointer to the new block of memory of the specified size, or NULL if the request could not be satisfied.