|
|
| version 1.7.60.2, 2024/12/05 12:33:49 | version 1.8, 2024/12/04 17:47:28 |
|---|---|
| Line 89 typedef struct _tagToken { | Line 89 typedef struct _tagToken { |
| #define json_tokstrcpy(d, j, x) { strncpy((d), json_tokstr((j), (x)), json_toklen(x)); \ | #define json_tokstrcpy(d, j, x) { strncpy((d), json_tokstr((j), (x)), json_toklen(x)); \ |
| (d)[json_toklen(x)] = 0; } | (d)[json_toklen(x)] = 0; } |
| #ifdef __cplusplus | |
| extern "C" { | |
| #endif | |
| /* | /* |
| * json_init() - Initialize JSON handler | * json_init() - Initialize JSON handler |
| Line 364 int json_add_pair2(char * __restrict jstr, int jlen, i | Line 361 int json_add_pair2(char * __restrict jstr, int jlen, i |
| int json_add_array(char * __restrict jstr, int jlen, int wspace, | int json_add_array(char * __restrict jstr, int jlen, int wspace, |
| array_t * __restrict arr); | array_t * __restrict arr); |
| #ifdef __cplusplus | |
| } | |
| #endif | |
| #endif | #endif |