X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=entity_t.h;h=03cfd7ad8696777370b24b61b00518813d247a7a;hb=2e7e36a9f01d1dc07e450ab3ecf082a133b3099e;hp=d894ef76be75dbc3993d24ce6f03c72925fe0eb7;hpb=beeb51cc97aa077897c804b3e7602f9acc60d4fb;p=cparser diff --git a/entity_t.h b/entity_t.h index d894ef7..03cfd7a 100644 --- a/entity_t.h +++ b/entity_t.h @@ -89,7 +89,8 @@ typedef enum decl_modifier_t { DM_FASTCALL = 1 << 22, DM_STDCALL = 1 << 23, DM_THISCALL = 1 << 24, - DM_DEPRECATED = 1 << 25 + DM_DEPRECATED = 1 << 25, + DM_RETURNS_TWICE = 1 << 26, } decl_modifier_t; typedef unsigned decl_modifiers_t; @@ -191,6 +192,7 @@ struct declaration_t { struct compound_member_t { declaration_t base; + unsigned char alignment; bool read : 1; bool address_taken : 1; /**< Set if the address of this declaration was taken. */ @@ -204,7 +206,7 @@ struct variable_t { bool thread_local : 1; /**< GCC __thread */ bool address_taken : 1; /**< Set if the address of this declaration was taken. */ bool read : 1; - unsigned char alignment; /**< Alignment of the declaration, 0 for default. */ + unsigned char alignment; symbol_t *get_property_sym; /**< MS get property. */ symbol_t *put_property_sym; /**< MS put property. */