P99

◆ P99_BUILTIN_TYPE

#define P99_BUILTIN_TYPE (   ...)    P99_PASTE2(P00_, P99_PASTE(BUILTIN_TYPE_, __VA_ARGS__))

Find a builtin type according to a code such as ‘ull’ or ‘ld’.

E.g P99_BUILTIN_TYPE(ull) should expand to unsigned long long. The complete list for the 35 builtin types (+ required typedefs):

codetypeis signedsignedunsignedinteger rank
b_Bool0b0
ccharhhuhh1
ddouble
dcdouble _Complex
ffloat
fcfloat _Complex
i128int_least128_t
i16int_least16_t
i32int_least32_t
i64int_least64_t
i8int_least8_t
jintmax_t
ldlong double
ldclong double _Complex
tptrdiff_t
isigned1iu3
hhsigned char1hhuhh1
lsigned long1lul4
llsigned long long1llull5
hsigned short1huh2
uzsize_t
u128uint_least128_t
u16uint_least16_t
u32uint_least32_t
u64uint_least64_t
u8uint_least8_t
ujuintmax_t
uunsigned0iu3
ucunsigned char
ulunsigned long0lul4
ullunsigned long long0llull5
uhunsigned short0huh2
vvoid

Definition at line 6256 of file p99_generated.h.