Only called to allocate memory during shutdown (generally for diagnostic pursose only) Pointer to the allocated block
| Return Type | Function name | Arguments |
|---|---|---|
| void* | _regime_alloc_Exit | (uint32_t,) |
Declared and defined in file: hzMemory.cpp
Function Logic:
Function body:
void* _regime_alloc_Exit (uint32_t size)
{
// Category: Memory
//
// Only called to allocate memory during shutdown (generally for diagnostic pursose only)
//
// Arguments: 1) size Bytes to allocate
// Returns: Pointer to the allocated block
void* ptr ; // New object space
s_nBytesExit += size ;
ptr = malloc(size) ;
memset(ptr, 0,size) ;
return ptr ;
}