# HG changeset patch # User Mike Becker # Date 1739305160 -3600 # Node ID cfa44f3f5e3b03ce79ba95782c2108c653b6cb15 # Parent 1f69336faa63d44953d6e48db18245a48479f34f last minute fixes for issue #548 diff -r 1f69336faa63 -r cfa44f3f5e3b src/cx/iterator.h --- a/src/cx/iterator.h Tue Feb 11 21:05:24 2025 +0100 +++ b/src/cx/iterator.h Tue Feb 11 21:19:20 2025 +0100 @@ -147,8 +147,6 @@ /** * Checks if the iterator points to valid data. * - * This is especially false for past-the-end iterators. - * * @param iter the iterator * @retval true if the iterator points to valid data * @retval false if the iterator already moved past the end diff -r 1f69336faa63 -r cfa44f3f5e3b src/cx/json.h --- a/src/cx/json.h Tue Feb 11 21:05:24 2025 +0100 +++ b/src/cx/json.h Tue Feb 11 21:19:20 2025 +0100 @@ -491,8 +491,7 @@ /** * Writes a JSON value to a buffer or stream. * - * This function blocks until all data is written or an error when trying - * to write data occurs. + * This function blocks until either all data is written, or an error occurs. * The write operation is not atomic in the sense that it might happen * that the data is only partially written when an error occurs with no * way to indicate how much data was written. diff -r 1f69336faa63 -r cfa44f3f5e3b src/cx/list.h --- a/src/cx/list.h Tue Feb 11 21:05:24 2025 +0100 +++ b/src/cx/list.h Tue Feb 11 21:19:20 2025 +0100 @@ -80,7 +80,6 @@ /** * Member function for inserting a single element. - * Implementors SHOULD see to performant implementations for corner cases. */ int (*insert_element)( struct cx_list_s *list, @@ -90,7 +89,6 @@ /** * Member function for inserting multiple elements. - * Implementors SHOULD see to performant implementations for corner cases. * * @see cx_list_default_insert_array() */ diff -r 1f69336faa63 -r cfa44f3f5e3b src/cx/properties.h --- a/src/cx/properties.h Tue Feb 11 21:05:24 2025 +0100 +++ b/src/cx/properties.h Tue Feb 11 21:19:20 2025 +0100 @@ -59,12 +59,6 @@ char delimiter; /** - * The character, when appearing at the end of a line, continues that line. - * This is '\' by default. - */ - // char continuation; // TODO: line continuation in properties - - /** * The first comment character. * This is '#' by default. */ @@ -81,6 +75,15 @@ * This is not set by default. */ char comment3; + + /* + * The character, when appearing at the end of a line, continues that line. + * This is '\' by default. + */ + /** + * Reserved for future use. + */ + char continuation; }; /** diff -r 1f69336faa63 -r cfa44f3f5e3b src/cx/string.h --- a/src/cx/string.h Tue Feb 11 21:05:24 2025 +0100 +++ b/src/cx/string.h Tue Feb 11 21:19:20 2025 +0100 @@ -52,7 +52,6 @@ /** * A pointer to the string. * @note The string is not necessarily @c NULL terminated. - * Always use the length. */ char *ptr; /** The length of the string */ @@ -71,7 +70,6 @@ /** * A pointer to the immutable string. * @note The string is not necessarily @c NULL terminated. - * Always use the length. */ const char *ptr; /** The length of the string */ diff -r 1f69336faa63 -r cfa44f3f5e3b src/properties.c --- a/src/properties.c Tue Feb 11 21:05:24 2025 +0100 +++ b/src/properties.c Tue Feb 11 21:19:20 2025 +0100 @@ -32,10 +32,10 @@ const CxPropertiesConfig cx_properties_config_default = { '=', - //'\\', '#', '\0', - '\0' + '\0', + '\\', }; void cxPropertiesInit(