Prototype of user-provided callback function for memory allocation.
#include "huctx.h"
typedef void* hu_MallocFunc(size_t size, void *cbData);
BlackBerry 10.0.0
If size bytes of memory is not available, this function should return NULL.
The cbData argument is initialized during global context creation and will be passed to this function.