diff options
author | Aki <please@ignore.pl> | 2024-06-26 00:45:11 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-06-26 00:46:00 +0200 |
commit | e2690e1cce87be317dd8169e93a59318b42e3b82 (patch) | |
tree | 266f382e7634d929ce077cf42690bd66464c5475 /db/c.lua | |
download | headers-e2690e1cce87be317dd8169e93a59318b42e3b82.zip headers-e2690e1cce87be317dd8169e93a59318b42e3b82.tar.gz headers-e2690e1cce87be317dd8169e93a59318b42e3b82.tar.bz2 |
Implemented dumb database for standard C headers
Diffstat (limited to 'db/c.lua')
-rw-r--r-- | db/c.lua | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/db/c.lua b/db/c.lua new file mode 100644 index 0000000..adc6bd7 --- /dev/null +++ b/db/c.lua @@ -0,0 +1,55 @@ +aliases "ISO/IEC 9899:1990" {"ANSI X3.159-1989", "C89", "C90", "ANSI C"} +aliases "ISO/IEC 9899:1990/Amd 1:1995" {"C95"} +aliases "ISO/IEC 9899:1999" {"C99"} +aliases "ISO/IEC 9899:2011" {"C11"} +aliases "ISO/IEC 9899:2018" {"C17"} +aliases "ISO/IEC 9899:2024" {"C23", "C"} +headers "C89" { + "assert.h", + "ctype.h", + "errno.h", + "float.h", + "limits.h", + "locale.h", + "math.h", + "setjmp.h", + "signal.h", + "stdarg.h", + "stddef.h", + "stdio.h", + "stdlib.h", + "string.h", + "time.h", +} +headers "C95" { + include "C89", + "iso646.h", + "wchar.h", + "wctype.h", +} +headers "C99" { + include "C95", + "complex.h", + "fenv.h", + "inttypes.h", + "stdbool.h", + "stdint.h", + "tgmath.h", +} +headers "C11" { + include "C99", + "stdalign.h", + "stdatomic.h", + "stdnoreturn.h", + "threads.h", + "uchar.h", +} +headers "C17" { + include "C11", +} +headers "C23" { + include "C17", + -- remove "stdnoreturn.h", -- deprecated + "stdbit.h", + "stdckdint.h", +} |