IoT managed integrations End Device SDK
Loading...
Searching...
No Matches
Functions
iotmi_pal_Heap.h File Reference

This file defines heap functions platform abstraction interface. More...

#include <stddef.h>

Go to the source code of this file.

Functions

void * iotmiPal_malloc (size_t size)
 Memory allocator.
 
void iotmiPal_free (void *ptr)
 Free allocated memory.
 

Detailed Description

This file defines heap functions platform abstraction interface.

Function Documentation

◆ iotmiPal_free()

void iotmiPal_free ( void *  ptr)

Free allocated memory.

Parameters
[in]ptrPointer to the allocated memory.

◆ iotmiPal_malloc()

void * iotmiPal_malloc ( size_t  size)

Memory allocator.

Parameters
[in]sizeSize of the allocated memory.
Returns
Pointer to the allocated memory when success. Otherwise, return NULL.