#include <stdbool.h>
#include <stddef.h>
#include <dolphin/types.h>
Go to the source code of this file.
|
| typedef int | enum_t |
| | The underlying type of an enum, used as a placeholder.
|
| |
| typedef void(* | Event) (void) |
| | A void callback with no arguments.
|
| |
◆ SECTION_INIT
◆ SECTION_CTORS
◆ SECTION_DTORS
◆ ATTRIBUTE_NORETURN
| #define ATTRIBUTE_NORETURN |
◆ ATTRIBUTE_RESTRICT
| #define ATTRIBUTE_RESTRICT |
◆ AT_ADDRESS
◆ U8_MAX
◆ U16_MAX
◆ U32_MAX
| #define U32_MAX 0xFFFFFFFF |
◆ S8_MAX
◆ S16_MAX
◆ S32_MAX
| #define S32_MAX 0x7FFFFFFF |
◆ F32_MAX
| #define F32_MAX 3.4028235e38f |
◆ SQ
| #define SQ |
( |
|
x | ) |
((x) * (x)) |
◆ MIN
| #define MIN |
( |
|
a, |
|
|
|
b |
|
) |
| (((a) < (b)) ? (a) : (b)) |
◆ MAX
| #define MAX |
( |
|
a, |
|
|
|
b |
|
) |
| (((a) > (b)) ? (a) : (b)) |
◆ STATIC_ASSERT
| #define STATIC_ASSERT |
( |
|
cond | ) |
_Static_assert((cond), "(" #cond ") failed") |
◆ RETURN_IF
| #define RETURN_IF |
( |
|
cond | ) |
|
Value: do { \
if ((cond)) { \
return; \
} \
} while (0)
◆ SDATA
◆ WEAK
◆ enum_t
The underlying type of an enum, used as a placeholder.
◆ Event
| typedef void(* Event) (void) |
A void callback with no arguments.