| 12345678910111213141516171819202122232425 |
- #ifndef __CJSON_UTIL_INCLUDE__
- #define __CJSON_UTIL_INCLUDE__
- #ifdef __cplusplus
- extern "C"
- {
- #endif
- #include <stdlib.h>
- #include <stdint.h>
- #include <string.h>
- #include "cJSON.h"
- extern void cJSON_free(void *ptr);
- extern const char * cJSON_item_get_string(cJSON *object,const char *string);
- extern int cJSON_item_get_number(cJSON *object, const char *item_name, int * result);
- extern void cJSON_AddInteger2StringToObject(cJSON *object, const char *name, int i);
- #ifdef __cplusplus
- }
- #endif
- #endif /* __CJSON_UTIL_INCLUDE__ */
|