Thu, 28 Aug 2025 13:37:00 +0200
fix wrong position of cstr argument in attribute
relates to #461
src/cx/kv_list.h | file | annotate | diff | comparison | revisions |
--- a/src/cx/kv_list.h Wed Aug 27 23:24:11 2025 +0200 +++ b/src/cx/kv_list.h Thu Aug 28 13:37:00 2025 +0200 @@ -207,7 +207,7 @@ } cx_attr_nonnull -cx_attr_cstr_arg(2) +cx_attr_cstr_arg(3) static inline int cxKvListSetKey(CxList *list, size_t index, const char *key) { return cx_kv_list_set_key(list, index, cx_hash_key_str(key)); } @@ -228,7 +228,7 @@ } cx_attr_nonnull -cx_attr_cstr_arg(2) +cx_attr_cstr_arg(3) static inline int cxKvListRemoveKey(CxList *list, size_t index, const char *key) { return cx_kv_list_remove_key(list, index, cx_hash_key_str(key)); } @@ -249,7 +249,7 @@ } cx_attr_nonnull -cx_attr_cstr_arg(2) +cx_attr_cstr_arg(3) static inline int cxKvListInsert(CxList *list, size_t index, const char *key, void *value) { return cx_kv_list_insert(list, index, cx_hash_key_str(key), value); }