--- a/src/cx/iterator.h Wed Oct 15 22:45:21 2025 +0200 +++ b/src/cx/iterator.h Thu Oct 16 19:57:47 2025 +0200 @@ -229,12 +229,8 @@ * @see cxIteratorPtr() */ cx_attr_nodiscard -cx_attr_export -CxIterator cxIterator( - const void *array, - size_t elem_size, - size_t elem_count -); +CX_EXPORT CxIterator cxIterator(const void *array, + size_t elem_size, size_t elem_count); /** * Creates a mutating iterator for the specified plain array. @@ -260,13 +256,8 @@ * @return an iterator for the specified array */ cx_attr_nodiscard -cx_attr_export -CxIterator cxMutIterator( - void *array, - size_t elem_size, - size_t elem_count, - bool remove_keeps_order -); +CX_EXPORT CxIterator cxMutIterator(void *array, + size_t elem_size, size_t elem_count, bool remove_keeps_order); /** * Creates an iterator for the specified plain pointer array. @@ -282,11 +273,7 @@ * @see cxIterator() */ cx_attr_nodiscard -cx_attr_export -CxIterator cxIteratorPtr( - const void *array, - size_t elem_count -); +CX_EXPORT CxIterator cxIteratorPtr(const void *array, size_t elem_count); /** * Creates a mutating iterator for the specified plain pointer array. @@ -303,12 +290,8 @@ * @see cxIteratorPtr() */ cx_attr_nodiscard -cx_attr_export -CxIterator cxMutIteratorPtr( - void *array, - size_t elem_count, - bool remove_keeps_order -); +CX_EXPORT CxIterator cxMutIteratorPtr(void *array, + size_t elem_count, bool remove_keeps_order); #ifdef __cplusplus } // extern "C"