#include <stddef.h>
#include <stdlib.h>
#include "esp_heap_caps.h"
Go to the source code of this file.
◆ FREE_AND_RESET
| #define FREE_AND_RESET |
( |
|
a | ) |
|
Value:do { \
if (a) { \
osi_free(a); \
a = NULL; \
} \
}while (0)
◆ osi_calloc
| #define osi_calloc |
( |
|
size | ) |
calloc(1, (size)) |
◆ osi_free
| #define osi_free |
( |
|
p | ) |
free((p)) |
◆ osi_malloc
| #define osi_malloc |
( |
|
size | ) |
malloc((size)) |
◆ osi_calloc_func()
| void* osi_calloc_func |
( |
size_t |
size | ) |
|
◆ osi_free_func()
| void osi_free_func |
( |
void * |
ptr | ) |
|
◆ osi_malloc_func()
| void* osi_malloc_func |
( |
size_t |
size | ) |
|
◆ osi_strdup()
| char* osi_strdup |
( |
const char * |
str | ) |
|