MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / cJSON_Hooks

Class cJSON_Hooks

eval/LANE_evaluation/lane2d/include/cJSON.h:68–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected