aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-08-18 10:07:45 +0200
committerMattias Andrée <maandree@kth.se>2024-08-18 10:07:45 +0200
commitd615fdf3d64ed0c02765ca4c94f1f0fabc05b048 (patch)
tree25442a30a3478d57a0b886c21282e5b4e33a2776
parentMerge tag '1.5' into since (diff)
downloadlibsimple-d615fdf3d64ed0c02765ca4c94f1f0fabc05b048.tar.gz
libsimple-d615fdf3d64ed0c02765ca4c94f1f0fabc05b048.tar.bz2
libsimple-d615fdf3d64ed0c02765ca4c94f1f0fabc05b048.tar.xz
Add @since for definitions added in version 1.5
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libsimple/array.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsimple/array.h b/libsimple/array.h
index ae347f9..8300f0a 100644
--- a/libsimple/array.h
+++ b/libsimple/array.h
@@ -192,12 +192,14 @@
#endif
+/* @since 1.5 */
#define libsimple_arrayfill(buf, item) libsimple_memsetelem(buf, item, sizeof *(buf), sizeof (buf) / sizeof *(buf))
#ifndef arrayfill
# define arrayfill(...) libsimple_arrayfill(__VA_ARGS__)
#endif
+/* @since 1.5 */
#define libsimple_arraynull(buf) libsimple_memsetelem(buf, (void *)0, sizeof *(buf), sizeof (buf) / sizeof *(buf))
#ifndef arraynull
# define arraynull(...) libsimple_arraynull(__VA_ARGS__)