Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
PPB_Memory_Dev_0_1 Struct Reference

#include <ppb_memory_dev.h>

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.

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.
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.

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