Mercurial > hg > CbC > CbC_llvm
view libc/spec/gnu_ext.td @ 213:25ca0248ac32
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 11 Jul 2021 17:05:31 +0900 |
parents | 2e18cbf3894f |
children | c4bab56944e8 |
line wrap: on
line source
def GnuExtensions : StandardSpec<"GNUExtensions"> { HeaderSpec CType = HeaderSpec< "ctype.h", [], // Macros [], // Types [], // Enumerations [ FunctionSpec< "toascii", RetValSpec<IntType>, [ArgSpec<IntType>] >, ] >; HeaderSpec Math = HeaderSpec< "math.h", [], // Macros [], // Types [], // Enumerations [ FunctionSpec< "sincosf", RetValSpec<VoidType>, [ArgSpec<FloatType>, ArgSpec<FloatPtr>, ArgSpec<FloatPtr>] >, ] >; HeaderSpec String = HeaderSpec< "string.h", [], // Macros [], // Types [], // Enumerations [ FunctionSpec< "memrchr", RetValSpec<VoidPtr>, [ArgSpec<VoidPtr>, ArgSpec<IntType>, ArgSpec<SizeTType>] >, ] >; let Headers = [ CType, Math, String, ]; }