nw::os::IAllocator::Alloc Member Function
virtual void * Alloc(
size_t size,
u8 alignment
) = 0;
| Name | Description | |
|---|---|---|
size |
||
| alignment |
Allocates memory.
nw::os::IAllocator::Alloc Member Function
void * Alloc(
size_t size
);
| Name | Description | |
|---|---|---|
size |
Allocates memory when the alignment specification has been omitted.
Note that overload of the base class is hidden if override of Alloc(size, alignment) is defined for a derivative class. To directly use this function from a reference to a sub-class, describe this code: IAllocator::Alloc;
CONFIDENTIAL