|
eaarl-io
1.0.1+71abbd4
EAARL Input/Output Library (Public API)
|
Memory handler. More...
#include <stddef.h>Go to the source code of this file.
Data Structures | |
| struct | eaarlio_memory |
| Memory handler structure. More... | |
Macros | |
| #define | eaarlio_memory_empty() |
| Empty eaarlio_memory value. More... | |
Memory handler.
This header provides a means by which to override how the library handles its memory allocation needs. All functions that perform memory allocation or deallocation accept an eaarlio_memory pointer. When not provided (i.e., when NULL), the C standard library (stdlib.h) is used.
If a function does not have an eaarlio_memory parameter, then it does not perform any memory allocation or deallocation.
| #define eaarlio_memory_empty | ( | ) |
Empty eaarlio_memory value.
All pointers will be NULL.
1.8.13