--- libelwix/inc/elwix/ajson.h 2024/12/05 12:33:49 1.7.60.2 +++ libelwix/inc/elwix/ajson.h 2024/12/04 17:47:28 1.8 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: ajson.h,v 1.7.60.2 2024/12/05 12:33:49 misho Exp $ +* $Id: ajson.h,v 1.8 2024/12/04 17:47:28 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -89,9 +89,6 @@ typedef struct _tagToken { #define json_tokstrcpy(d, j, x) { strncpy((d), json_tokstr((j), (x)), json_toklen(x)); \ (d)[json_toklen(x)] = 0; } -#ifdef __cplusplus -extern "C" { -#endif /* * json_init() - Initialize JSON handler @@ -364,8 +361,5 @@ int json_add_pair2(char * __restrict jstr, int jlen, i int json_add_array(char * __restrict jstr, int jlen, int wspace, array_t * __restrict arr); -#ifdef __cplusplus -} -#endif #endif