nn::fnd::UnitHeapTemplate::UnitHeapTemplate Constructor

Syntax

template <class MemoryBlock>
explicit UnitHeapTemplate(
     size_t unit,
     const MemoryBlock & block,
     s32 alignment = DEFAULT_ALIGNMENT,
     bit32 option = 0
);

Arguments

Name Description
in unit The size of the unit
in block Specifies the memory block to be allocated to the frame heap
in alignment The alignment of the unit
in option Specifies the options (not yet implemented)

Description

Constructor. Initializes the unit heap using the specified parameters.


CONFIDENTIAL