Environmental Macros

Environmental Macros

Description

These macros indicate environmental information. They select implementations based on the environment.

Macros

Endianity
NN_ENDIAN Indicates the platform's endianity.
NN_ENDIAN_VALUE_BIG Indicates that values are big endian.
NN_ENDIAN_VALUE_LITTLE Indicates that values are little endian.
Other
NN_FILE_NAME Constant indicating the current source file name.
NN_FUNCTION Constant indicating the current function name.
NN_ATTRIBUTE_ALIGN Used to align the boundaries of object addresses.
NN_UNUSED_VAR Declares that a variable is not used.

Revision History

2011/12/16
Initial version.

CONFIDENTIAL