MCPcopy Create free account
hub / github.com/antirez/botlib / cJSON_Hooks

Class cJSON_Hooks

cJSON.h:125–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123} cJSON;
124
125typedef struct cJSON_Hooks
126{
127 /* malloc/free are CDECL on Windows regardless of the default calling convention of the compiler, so ensure the hooks allow passing those functions directly. */
128 void *(CJSON_CDECL *malloc_fn)(size_t sz);
129 void (CJSON_CDECL *free_fn)(void *ptr);
130} cJSON_Hooks;
131
132typedef int cJSON_bool;
133

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected