Searched refs:global_hooks (Results 1 – 1 of 1) sorted by relevance
221 global_hooks.allocate = malloc; in cJSON_InitHooks()222 global_hooks.deallocate = free; in cJSON_InitHooks()227 global_hooks.allocate = malloc; in cJSON_InitHooks()233 global_hooks.deallocate = free; in cJSON_InitHooks()240 global_hooks.reallocate = NULL; in cJSON_InitHooks()241 if ((global_hooks.allocate == malloc) && (global_hooks.deallocate == free)) in cJSON_InitHooks()278 global_hooks.deallocate(item); in cJSON_Delete()1117 buffer.hooks = global_hooks; in cJSON_ParseWithLengthOpts()1286 p.hooks = global_hooks; in cJSON_PrintBuffered()1311 p.hooks = global_hooks; in cJSON_PrintPreallocated()[all …]