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

Syntax

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

Arguments

Name Description
in count Number of objects to allocate.
data
alignment

Return Values

Description

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


CONFIDENTIAL