diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-29 16:23:41 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-29 16:23:41 +0300 |
| commit | d7cb08134102b7a2410c48d2a1802193f9031e00 (patch) | |
| tree | 711498836d6679ca2fc3b4ba9369b7fe53d7a3fa /include/apos/builtin.h | |
| parent | e148f38dc937c34b222ba8df8612b3fa2b6bc349 (diff) | |
| download | kmi-d7cb08134102b7a2410c48d2a1802193f9031e00.tar.gz kmi-d7cb08134102b7a2410c48d2a1802193f9031e00.zip | |
continue documentation efforts
Diffstat (limited to 'include/apos/builtin.h')
| -rw-r--r-- | include/apos/builtin.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/apos/builtin.h b/include/apos/builtin.h index b6ce0e0..6869361 100644 --- a/include/apos/builtin.h +++ b/include/apos/builtin.h @@ -10,6 +10,14 @@ * we'll be golden. */ +/** + * Check whether compiler supports the builtin. + * Note that this definition is only for when the compiler doesn't provide it + * automatically. + * + * @param x Base name of builtin to check for. + * @return \c 0 when not supported, non-zero when supported. + */ #ifndef __has_builtin #define __has_builtin(x) (0) #endif |
