9.10 __INTADDR__

The __INTADDR__ operation treats the enclosed expression as a constant expression, and converts it to an integer constant.

Note

This is used in the offsetof macro.

Syntax

__INTADDR(expr)
Where:
expr
is an integral constant expression.

Return value

__INTADDR__(expr) returns an integer constant equivalent to expr.
Related concepts
6.29 Restrictions on embedded assembly language functions in C and C++ code
Non-ConfidentialPDF file icon PDF versionARM DUI0375E
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.