nRF Connect SDK API 2.8.0
|
void nrf_cloud_os_mem_hooks_init | ( | struct nrf_cloud_os_mem_hooks * | hooks | ) |
#include <include/net/nrf_cloud_os.h>
Initialize the used OS memory hooks. As a default, nRF Cloud library uses OS kernel heap memory (in other words, k_ prepending OS functions). This can be used to override those (for example, to be using OS system heap, that is standard C calloc/malloc/free).
[in] | hooks | Used memory alloc/free functions. |