diff -r 05910a8994f7 -r ed44741d8ab5 src/cx/json.h --- a/src/cx/json.h Sat Nov 02 19:37:59 2024 +0100 +++ b/src/cx/json.h Sat Nov 02 20:17:38 2024 +0100 @@ -182,12 +182,12 @@ __attribute__((__nonnull__)) int cxJsonFilln(CxJson *json, const char *buf, size_t len); -#define cxJsonFill(prop, str) _Generic((str), \ +#define cxJsonFill(json, str) _Generic((str), \ cxstring: cx_json_fill_cxstr, \ cxmutstr: cx_json_fill_mutstr, \ char*: cx_json_fill_str, \ const char*: cx_json_fill_str) \ - (prop, str) + (json, str) __attribute__((__nonnull__)) static inline int cx_json_fill_cxstr(