add fake doc to mute doxygen complaints

Tue, 10 Dec 2024 22:10:05 +0100

author
Mike Becker <universe@uap-core.de>
date
Tue, 10 Dec 2024 22:10:05 +0100
changeset 1010
2d252c1c1d5d
parent 1009
7650e722437e
child 1011
838b096c1d08

add fake doc to mute doxygen complaints

src/cx/array_list.h file | annotate | diff | comparison | revisions
--- a/src/cx/array_list.h	Tue Dec 10 21:40:39 2024 +0100
+++ b/src/cx/array_list.h	Tue Dec 10 22:10:05 2024 +0100
@@ -63,9 +63,9 @@
  * @see cx_array_simple_insert_sorted()
  */
 #define CX_ARRAY_DECLARE_SIZED(type, name, size_type) \
-    type * name;                     \
-    size_type name##_size;           \
-    size_type name##_capacity
+    type * name;                                      \
+    /** Array size. */ size_type name##_size;         \
+    /** Array capacity. */ size_type name##_capacity
 
 /**
  * Declares variables for an array that can be used with the convenience macros.

mercurial