Pepper_31_C++_interfaces
Public Member Functions | List of all members
pp::Memory_Dev Class Reference

APIs related to memory management, time, and threads. More...

#include <memory_dev.h>

Collaboration diagram for pp::Memory_Dev:
Collaboration graph

Public Member Functions

 Memory_Dev ()
 
void * MemAlloc (uint32_t num_bytes)
 
void MemFree (void *ptr)
 

Detailed Description

APIs related to memory management, time, and threads.

Definition at line 16 of file memory_dev.h.

Constructor & Destructor Documentation

pp::Memory_Dev::Memory_Dev ( )
inline

Definition at line 18 of file memory_dev.h.

Member Function Documentation

void* pp::Memory_Dev::MemAlloc ( uint32_t  num_bytes)

A function that allocates memory.

Parameters
[in]num_bytesA number of bytes to allocate.
Returns
A pointer to the memory if successful, NULL If the allocation fails.
void pp::Memory_Dev::MemFree ( void *  ptr)

A function that deallocates memory.

Parameters
[in]ptrA pointer to the memory to deallocate. It is safe to pass NULL to this function.

The documentation for this class was generated from the following file: