1def GnuExtensions : StandardSpec<"GNUExtensions"> { 2 HeaderSpec Math = HeaderSpec< 3 "math.h", 4 [], // Macros 5 [], // Types 6 [], // Enumerations 7 [ 8 FunctionSpec< 9 "sincosf", 10 RetValSpec<VoidType>, 11 [ArgSpec<FloatType>, ArgSpec<FloatPtr>, ArgSpec<FloatPtr>] 12 >, 13 ] 14 >; 15 16 HeaderSpec String = HeaderSpec< 17 "string.h", 18 [], // Macros 19 [], // Types 20 [], // Enumerations 21 [ 22 FunctionSpec< 23 "memrchr", 24 RetValSpec<VoidPtr>, 25 [ArgSpec<VoidPtr>, ArgSpec<IntType>, ArgSpec<SizeTType>] 26 >, 27 ] 28 >; 29 30 let Headers = [ 31 Math, String, 32 ]; 33} 34