| 123 | } cJSON; |
| 124 | |
| 125 | typedef 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 | |
| 132 | typedef int cJSON_bool; |
| 133 |
nothing calls this directly
no outgoing calls
no test coverage detected