diff options
author | Mattias Andrée <maandree@kth.se> | 2024-08-18 09:41:45 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-08-18 09:41:45 +0200 |
commit | 8c76958b84e24e995d4ea16613bf525ca84727a1 (patch) | |
tree | cb8db13f84a13680287d0ab090ad731a3f54d076 /libsimple.h | |
parent | Add arraydup macros (diff) | |
download | libsimple-8c76958b84e24e995d4ea16613bf525ca84727a1.tar.gz libsimple-8c76958b84e24e995d4ea16613bf525ca84727a1.tar.bz2 libsimple-8c76958b84e24e995d4ea16613bf525ca84727a1.tar.xz |
Add @since for definitions added in version 1.0 and 1.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libsimple.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libsimple.h b/libsimple.h index f2dd4b9..2c68fba 100644 --- a/libsimple.h +++ b/libsimple.h @@ -88,6 +88,8 @@ * be update to -1 if it is non-negative * @return Return value of close(3) (0 on success, * -1 on error), 0 if `*fdp < 0` + * + * @since 1.0 */ _LIBSIMPLE_GCC_ONLY(__attribute__((__nonnull__))) static inline int @@ -112,6 +114,8 @@ libsimple_close(int *__fdp) * @param list:non-void pointer The list * @param i:size_t The index of the item to remove * @param n:size_t Pointer to the number of items in the list, will be updated + * + * @since 1.0 */ #define LIBSIMPLE_UNLIST(LIST, I, NP) libsimple_unlist((LIST), (I), (NP), sizeof(*(LIST))) #ifndef UNLIST @@ -126,6 +130,8 @@ libsimple_close(int *__fdp) * @param i The index of the item to remove * @param n Pointer to the number of items in the list, will be updated * @param width The width, in bytes, of each item in the list + * + * @since 1.0 */ _LIBSIMPLE_GCC_ONLY(__attribute__((__nonnull__))) static inline void |