nRF Connect SDK API 2.8.0
|
void * app_event_manager_alloc | ( | size_t | size | ) |
#include <include/app_event_manager.h>
Allocate event.
The behavior of this function depends on the actual implementation. The default implementation of this function is same as k_malloc. It is annotated as weak and can be overridden by user.
size | Amount of memory requested (in bytes). |
Address | of the allocated memory if successful, otherwise NULL. |