![]() |
0.01.00
|
This module defines a toolchain abstraction layer through macros. More...
Macros | |
| #define | OT_TOOL_PACKED_BEGIN |
| Compiler-specific indication that a class or struct must be byte packed. | |
| #define | OT_TOOL_PACKED_FIELD |
| Indicate to the compiler a nested struct or union to be packed within byte packed class or struct. | |
| #define | OT_TOOL_PACKED_END |
| Compiler-specific indication at the end of a byte packed class or struct. | |
| #define | OT_TOOL_ALIGN(X) |
| Compiler-specific alignment modifier. | |
| #define | OT_TOOL_WEAK |
| Compiler-specific weak symbol modifier. | |
| #define | OT_CALL |
| Compiler-specific function modifier, ie: Win DLL support. More... | |
| #define | OT_CDECL |
| Compiler-specific function modifier, ie: Win DLL support. More... | |
| #define | OTAPI |
| Compiler-specific modifier for public API declarations. | |
| #define | OTCALL |
| Compiler-specific modifier to export functions in a DLL. | |
| #define | OT_UNUSED_VARIABLE(VARIABLE) |
| Suppress unused variable warning in specific toolchains. More... | |
| #define | OT_UNREACHABLE_CODE(CODE) CODE |
| Suppress Unreachable code warning in specific toolchains. | |
This module defines a toolchain abstraction layer through macros.
Usage:
| #define OT_CALL |
Compiler-specific function modifier, ie: Win DLL support.
| #define OT_CDECL |
Compiler-specific function modifier, ie: Win DLL support.
| #define OT_UNUSED_VARIABLE | ( | VARIABLE | ) |
Suppress unused variable warning in specific toolchains.