Pepper_31_C_interfaces
Public Attributes | List of all members
PPB_Memory_Dev_0_1 Struct Reference

#include <ppb_memory_dev.h>

Collaboration diagram for PPB_Memory_Dev_0_1:
Collaboration graph

Public Attributes

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

Detailed Description

The PPB_Memory_Dev interface contains pointers to functions related to memory management.

Definition at line 33 of file ppb_memory_dev.h.

Member Data Documentation

void*(* PPB_Memory_Dev_0_1::MemAlloc)(uint32_t num_bytes)

MemAlloc is a pointer to a function that allocate memory.

Parameters
[in]num_bytesA number of bytes to allocate.
Returns
A pointer to the memory if successful, NULL If the allocation fails.

Definition at line 41 of file ppb_memory_dev.h.

void(* PPB_Memory_Dev_0_1::MemFree)(void *ptr)

MemFree is a pointer to a function that deallocates memory.

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

Definition at line 48 of file ppb_memory_dev.h.


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