nw::os::IAllocator::AllocAndClear Member Function

Syntax

void * AllocAndClear(
     size_t size,
     u8 data,
     u8 alignment = DEFAULT_ALIGNMENT
);
template <typename TObject>
TObject * AllocAndClear(
     int count,
     u8 data,
     u8 alignment = DEFAULT_ALIGNMENT
);

List of Overloaded Member Functions

AllocAndClear ( size_t, u8, u8 ) Allocates memory and clears with the specified byte data.
AllocAndClear ( int, u8, u8 ) Allocates the memory needed for the specified number of objects, and clears with the specified byte data.

Description of AllocAndClear ( size_t, u8, u8 )

Allocates memory and clears with the specified byte data.

Description of AllocAndClear ( int, u8, u8 )

Allocates the memory needed for the specified number of objects, and clears with the specified byte data.


CONFIDENTIAL