eRPC API Reference  Rev. 1.12.0
NXP Semiconductors
Memory

Memory allocation. More...

Overview

Memory allocation.

+ Collaboration diagram for Memory:

Files

file  erpc_port.h
 

Functions

void * erpc_malloc (size_t size)
 This function is used for allocating space. More...
 
void erpc_free (void *ptr)
 This function free given memory block. More...
 

Function Documentation

void* erpc_malloc ( size_t  size)

This function is used for allocating space.

Parameters
[in]sizeSize of memory block which should be allocated.
Returns
Pointer to allocated space or NULL.
void erpc_free ( void *  ptr)

This function free given memory block.

Parameters
[in]ptrPointer to memory which should be freed, or NULL.