Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: xively-jumpstart-demo
xi_allocator.c File Reference
Our custom `alloc()` and `free()` [see xi_allocator.h]. More...
Go to the source code of this file.
Functions | |
| void * | xi_alloc (size_t b) |
| Behaves like usual `malloc()`, which is supposed to allocate a chunk of memory and return the pointer to it. | |
| void | xi_free (void *p) |
| Behaves like usual `free()`, it frees previously allocated chunk of of memory. | |
Detailed Description
Our custom `alloc()` and `free()` [see xi_allocator.h].
Definition in file xi_allocator.c.
Function Documentation
| void* xi_alloc | ( | size_t | bytes ) |
Behaves like usual `malloc()`, which is supposed to allocate a chunk of memory and return the pointer to it.
- Returns:
- Pointer to allocated memory or null in case of any error.
Definition at line 13 of file xi_allocator.c.
| void xi_free | ( | void * | p ) |
Behaves like usual `free()`, it frees previously allocated chunk of of memory.
Definition at line 18 of file xi_allocator.c.
Generated on Wed Jul 13 2022 17:00:32 by
1.7.2