Skip to main content

IAR Embedded Workbench for RISC-V 3.40

type_attribute

In this section:
Syntax
#pragma type_attribute=type_attr[ type_attr...]
Parameters

For information about type attributes that can be used with this pragma directive, see Type attributes.

Description

Use this pragma directive to specify IAR-specific type attributes, which are not part of Standard C. Note however, that a given type attribute might not be applicable to all kind of objects.

This directive affects the declaration of the identifier, the next variable, or the next function that follows immediately after the pragma directive.

For an example of how to use this pragma directive, see Type attributes.

See also

Extended keywords.