X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=type.h;h=751d6589665660f374ad8548ecc6d20b955a2725;hb=f7db8861c9ec884f623ca2800945b4978967889b;hp=50c9cf722edf2c14e380deb758c8f4d9eef0093a;hpb=e97bf80ad2ba7f01d4a2b51d243d6273ae2d65a1;p=cparser diff --git a/type.h b/type.h index 50c9cf7..751d658 100644 --- a/type.h +++ b/type.h @@ -34,6 +34,7 @@ typedef unsigned char il_alignment_t; typedef enum atomic_type_kind_t { ATOMIC_TYPE_INVALID = 0, ATOMIC_TYPE_VOID, + ATOMIC_TYPE_WCHAR_T, ATOMIC_TYPE_CHAR, ATOMIC_TYPE_SCHAR, ATOMIC_TYPE_UCHAR, @@ -81,6 +82,7 @@ typedef struct atomic_type_t atomic_type_t; typedef struct complex_type_t complex_type_t; typedef struct imaginary_type_t imaginary_type_t; typedef struct pointer_type_t pointer_type_t; +typedef struct reference_type_t reference_type_t; typedef struct function_parameter_t function_parameter_t; typedef struct function_type_t function_type_t; typedef struct compound_type_t compound_type_t; @@ -203,4 +205,6 @@ atomic_type_kind_t find_signed_int_atomic_type_kind_for_size(unsigned size); */ atomic_type_kind_t find_unsigned_int_atomic_type_kind_for_size(unsigned size); +const char *get_atomic_kind_name(atomic_type_kind_t kind); + #endif