Template Function sdv::core::AllocMem#
Defined in File core_idl_backup.h
Function Documentation#
-
template<typename T>
inline pointer<T> sdv::core::AllocMem(size_t nAmount)# Allocate memory.
- Template Parameters:
T – The type to use for the allocation. Default is uint8_t.
- Parameters:
nAmount – [in] The amount of elements to allocate memory for.
- Returns:
Returns a pointer to the allocated memory of type T or NULL when the allocation failed.