MCPcopy Create free account
hub / github.com/Bwar/CJsonObject / cJSON_Hooks

Class cJSON_Hooks

cJSON.h:67–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65} cJSON;
66
67typedef struct cJSON_Hooks
68{
69 void *(*malloc_fn)(size_t sz);
70 void (*free_fn)(void *ptr);
71} cJSON_Hooks;
72
73/* Supply malloc, realloc and free functions to cJSON */
74extern void cJSON_InitHooks(cJSON_Hooks* hooks);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected