From 8c76958b84e24e995d4ea16613bf525ca84727a1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 18 Aug 2024 09:41:45 +0200 Subject: Add @since for definitions added in version 1.0 and 1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libsimple.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libsimple.h') 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 -- cgit v1.2.3-70-g09d2