don't document constness of arguments in macros

Sat, 04 Jan 2025 14:17:51 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 04 Jan 2025 14:17:51 +0100
changeset 1087
128324af5164
parent 1086
4c6ea8a10acd
child 1088
881994685681

don't document constness of arguments in macros

relates to #548

src/cx/allocator.h file | annotate | diff | comparison | revisions
--- a/src/cx/allocator.h	Sat Jan 04 13:40:34 2025 +0100
+++ b/src/cx/allocator.h	Sat Jan 04 14:17:51 2025 +0100
@@ -326,7 +326,7 @@
  * @par Error handling
  * @c errno will be set, if the underlying realloc function does so.
  *
- * @param allocator (@c const @c CxAllocator*) the allocator
+ * @param allocator (@c CxAllocator*) the allocator
  * @param mem (@c void**) pointer to the pointer to allocated block
  * @param n (@c size_t) the new size in bytes
  * @retval zero success
@@ -375,7 +375,7 @@
  * @c errno will be set, if the underlying realloc function does so or the
  * multiplication of @p nmemb and @p size overflows.
  *
- * @param allocator (@c const @c CxAllocator*) the allocator
+ * @param allocator (@c CxAllocator*) the allocator
  * @param mem (@c void**) pointer to the pointer to allocated block
  * @param nmemb (@c size_t) the number of elements
  * @param size (@c size_t) the size of each element

mercurial