[51b7345] | 1 | // "gcc -E builtins.c" |
---|
| 2 | |
---|
| 3 | #define DEF_BUILTIN(ENUM, NAME, CLASS, TYPE, LIBTYPE, BOTH_P, FALLBACK_P, NONANSI_P) TYPE(NAME) |
---|
| 4 | #define FUNC_SIMPLE(RETURN, NAME) RETURN NAME(); |
---|
| 5 | #define BT_LAST(x) |
---|
| 6 | |
---|
| 7 | #define BT_VOID void |
---|
| 8 | #define BT_INT int |
---|
| 9 | #define BT_UNSIGNED unsigned |
---|
| 10 | #define BT_LONG long |
---|
| 11 | #define BT_LONGLONG long long |
---|
| 12 | #define BT_FLOAT float |
---|
| 13 | #define BT_INTMAX long long |
---|
| 14 | #define BT_DOUBLE double |
---|
| 15 | #define BT_LONG_DOUBLE long double |
---|
| 16 | #define BT_COMPLEX_FLOAT _Complex float |
---|
| 17 | #define BT_COMPLEX_DOUBLE _Complex double |
---|
| 18 | #define BT_COMPLEX_LONG_DOUBLE _Complex long double |
---|
| 19 | |
---|
| 20 | #define BT_PTR void* |
---|
| 21 | #define BT_CONST_PTR const void* |
---|
| 22 | #define BT_TRAD_PTR char* |
---|
| 23 | #define BT_TRAD_CONST_PTR const char* |
---|
| 24 | #define BT_SIZE unsigned long |
---|
| 25 | #define BT_STRING char* |
---|
| 26 | #define BT_CONST_STRING const char* |
---|
| 27 | #define BT_LEN unsigned long |
---|
| 28 | |
---|
| 29 | #define BT_FN_VOID(NAME) FUNC_SIMPLE(BT_VOID, NAME) |
---|
| 30 | #define BT_FN_PTR(NAME) FUNC_SIMPLE(BT_PTR, NAME) |
---|
| 31 | #define BT_FN_UNSIGNED(NAME) FUNC_SIMPLE(BT_UNSIGNED, NAME) |
---|
| 32 | |
---|
| 33 | #define BT_FN_LONG_LONG(NAME) FUNC_SIMPLE(BT_LONG, NAME) |
---|
| 34 | #define BT_FN_LONGLONG_LONGLONG(NAME) FUNC_SIMPLE(BT_LONGLONG, NAME) |
---|
| 35 | #define BT_FN_INTMAX_INTMAX(NAME) FUNC_SIMPLE(BT_INTMAX, NAME) |
---|
| 36 | #define BT_FN_FLOAT_FLOAT(NAME) FUNC_SIMPLE(BT_FLOAT, NAME) |
---|
| 37 | #define BT_FN_DOUBLE_DOUBLE(NAME) FUNC_SIMPLE(BT_DOUBLE, NAME) |
---|
| 38 | #define BT_FN_LONG_DOUBLE_LONG_DOUBLE(NAME) FUNC_SIMPLE(BT_LONG_DOUBLE, NAME) |
---|
| 39 | #define BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT(NAME) FUNC_SIMPLE(BT_COMPLEX_FLOAT, NAME) |
---|
| 40 | #define BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE(NAME) FUNC_SIMPLE(BT_COMPLEX_DOUBLE, NAME) |
---|
| 41 | #define BT_FN_COMPLEX_LONG_DOUBLE_COMPLEX_LONG_DOUBLE(NAME) FUNC_SIMPLE(BT_COMPLEX_LONG_DOUBLE, NAME) |
---|
| 42 | #define BT_FN_FLOAT_COMPLEX_FLOAT(NAME) FUNC_SIMPLE(BT_FLOAT, NAME) |
---|
| 43 | #define BT_FN_DOUBLE_COMPLEX_DOUBLE(NAME) FUNC_SIMPLE(BT_DOUBLE, NAME) |
---|
| 44 | #define BT_FN_LONG_DOUBLE_COMPLEX_LONG_DOUBLE(NAME) FUNC_SIMPLE(BT_LONG_DOUBLE, NAME) |
---|
| 45 | #define BT_FN_PTR_UNSIGNED(NAME) FUNC_SIMPLE(BT_PTR, NAME) |
---|
| 46 | #define BT_FN_PTR_SIZE(NAME) FUNC_SIMPLE(BT_PTR, NAME) |
---|
| 47 | #define BT_FN_INT_INT(NAME) FUNC_SIMPLE(BT_INT, NAME) |
---|
| 48 | #define BT_FN_INT_PTR(NAME) FUNC_SIMPLE(BT_INT, NAME) |
---|
| 49 | #define BT_FN_VOID_PTR(NAME) FUNC_SIMPLE(BT_VOID, NAME) |
---|
| 50 | #define BT_FN_LEN_CONST_STRING(NAME) FUNC_SIMPLE(BT_LEN, NAME) |
---|
| 51 | #define BT_FN_INT_CONST_STRING(NAME) FUNC_SIMPLE(BT_INT, NAME) |
---|
| 52 | #define BT_FN_PTR_PTR(NAME) FUNC_SIMPLE(BT_PTR, NAME) |
---|
| 53 | #define BT_FN_VOID_VALIST_REF(NAME) FUNC_SIMPLE(BT_VOID, NAME) |
---|
| 54 | #define BT_FN_VOID_INT(NAME) FUNC_SIMPLE(BT_VOID, NAME) |
---|
| 55 | |
---|
| 56 | #define BT_FN_VOID_PTR_INT(NAME) FUNC_SIMPLE(BT_VOID, NAME) |
---|
| 57 | #define BT_FN_STRING_STRING_CONST_STRING(NAME) FUNC_SIMPLE(BT_STRING, NAME) |
---|
| 58 | #define BT_FN_INT_CONST_STRING_CONST_STRING(NAME) FUNC_SIMPLE(BT_INT, NAME) |
---|
| 59 | #define BT_FN_STRING_CONST_STRING_CONST_STRING(NAME) FUNC_SIMPLE(BT_STRING, NAME) |
---|
| 60 | #define BT_FN_SIZE_CONST_STRING_CONST_STRING(NAME) FUNC_SIMPLE(BT_SIZE, NAME) |
---|
| 61 | #define BT_FN_STRING_CONST_STRING_INT(NAME) FUNC_SIMPLE(BT_STRING, NAME) |
---|
| 62 | #define BT_FN_INT_CONST_STRING_PTR(NAME) FUNC_SIMPLE(BT_INT, NAME) |
---|
| 63 | #define BT_FN_INT_INT_PTR(NAME) FUNC_SIMPLE(BT_INT, NAME) |
---|
| 64 | #define BT_FN_VOID_PTRMODE_PTR(NAME) FUNC_SIMPLE(BT_VOID, NAME) |
---|
| 65 | #define BT_FN_VOID_VALIST_REF_VALIST_ARG(NAME) FUNC_SIMPLE(BT_VOID, NAME) |
---|
| 66 | #define BT_FN_LONG_LONG_LONG(NAME) FUNC_SIMPLE(BT_LONG, NAME) |
---|
| 67 | #define BT_FN_INT_PTR_CONST_STRING(NAME) FUNC_SIMPLE(BT_INT, NAME) |
---|
| 68 | #define BT_FN_VOID_TRAD_PTR_LEN(NAME) FUNC_SIMPLE(BT_VOID, NAME) |
---|
| 69 | |
---|
| 70 | #define BT_FN_STRING_STRING_CONST_STRING_SIZE(NAME) FUNC_SIMPLE(BT_STRING, NAME) |
---|
| 71 | #define BT_FN_INT_CONST_STRING_CONST_STRING_SIZE(NAME) FUNC_SIMPLE(BT_INT, NAME) |
---|
| 72 | #define BT_FN_TRAD_PTR_PTR_CONST_PTR_SIZE(NAME) FUNC_SIMPLE(BT_TRAD_PTR, NAME) |
---|
| 73 | #define BT_FN_INT_CONST_PTR_CONST_PTR_SIZE(NAME) FUNC_SIMPLE(BT_INT, NAME) |
---|
| 74 | #define BT_FN_TRAD_PTR_PTR_INT_SIZE(NAME) FUNC_SIMPLE(BT_TRAD_PTR, NAME) |
---|
| 75 | #define BT_FN_INT_TRAD_CONST_PTR_TRAD_CONST_PTR_LEN(NAME) FUNC_SIMPLE(BT_INT, NAME) |
---|
| 76 | #define BT_FN_VOID_PTR_INT_INT(NAME) FUNC_SIMPLE(BT_VOID, NAME) |
---|
| 77 | |
---|
| 78 | #define BT_FN_SIZE_CONST_PTR_SIZE_SIZE_PTR(NAME) FUNC_SIMPLE(BT_SIZE, NAME) |
---|
| 79 | |
---|
| 80 | #define BT_FN_VOID_VAR(NAME) FUNC_SIMPLE(BT_VOID, NAME) |
---|
| 81 | #define BT_FN_INT_VAR(NAME) FUNC_SIMPLE(BT_INT, NAME) |
---|
| 82 | #define BT_FN_PTR_VAR(NAME) FUNC_SIMPLE(BT_PTR, NAME) |
---|
| 83 | |
---|
| 84 | #define BT_FN_VOID_VALIST_REF_VAR(NAME) FUNC_SIMPLE(BT_VOID, NAME) |
---|
| 85 | #define BT_FN_VOID_CONST_PTR_VAR(NAME) FUNC_SIMPLE(BT_VOID, NAME) |
---|
| 86 | #define BT_FN_INT_CONST_STRING_VAR(NAME) FUNC_SIMPLE(BT_INT, NAME) |
---|
| 87 | |
---|
| 88 | #define BT_FN_INT_PTR_CONST_STRING_VAR(NAME) FUNC_SIMPLE(BT_INT, NAME) |
---|
| 89 | |
---|
| 90 | #define BT_FN_PTR_PTR_FN_VOID_VAR_PTR_SIZE(NAME) FUNC_SIMPLE(BT_PTR, NAME) |
---|
| 91 | |
---|
| 92 | #include "builtins.def" |
---|
| 93 | |
---|
| 94 | typedef void ** __builtin_va_list; |
---|
| 95 | extern const char *__PRETTY_FUNCTION__; |
---|
| 96 | typedef int wchar_t; |
---|