# HG changeset patch # User Mike Becker # Date 1730575058 -3600 # Node ID ed44741d8ab5531bf7f41c57e8e5a31f724cac94 # Parent 05910a8994f770758ed7d1f013de3b7a69919afe fix copy-pasted parameter name 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(