6.39. Specifying Attributes of Types
6.39 Specifying Attributes of Types
The keyword __attribute__
allows you to specify special attributes of struct
and union
types when you define such types. This keyword is followed by an attribute specification inside double parentheses. Eight attributes are currently defined for types: aligned
, packed
, transparent_union
, unused
, deprecated
, visibility
, may_alias
and bnd_variable_size
. Other attributes are defined for functions (see Function Attributes), labels (see Label Attributes) and for variables (see Variable Attributes).
You may also specify any one of these attributes wi