Go to the source code of this file.
◆ CTRE_ASSERT
#define CTRE_ASSERT |
( |
| cond | ) |
|
Value:
CTRE_ASSERT(cond) This can be moved into a seperate header later (Platform-assert).
◆ CTRE_IMPLEMENT_SHUTDOWN_HANDLER
#define CTRE_IMPLEMENT_SHUTDOWN_HANDLER |
( |
| shutdown_handler | ) |
|
Value:static void shutdown_handler(int signo)
CTRE_Application_CrashHandler(cond) This can be moved into a seperate header later.
◆ CTRE_REGISTER_SHUTDOWN_HANDLER
#define CTRE_REGISTER_SHUTDOWN_HANDLER |
( |
| shutdown_handler | ) |
|
◆ PACK_ATTRIB
#define PACK_ATTRIB /* empty */ |
◆ PACK_PREFIX
#define PACK_PREFIX __pragma(pack(push, 1)) |
This header implements macros for creating storage objects with 1 byte (8bit) packing across all supported platforms.
Example use...
PACK_PREFIX
typedef struct _nameOfType_t
{
uint8_t aByte;
uint16_t aShort;
uint32_t aWord;
} PACK_ATTRIB nameOfType_t;
PACK_SUFFIX
◆ PACK_SUFFIX
#define PACK_SUFFIX __pragma(pack(pop)) |