|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Definitions for builtin attributes and compiler directives More...
Macros | |
| #define | __noreturn __attribute__((__noreturn__)) |
| Identify a function that will never return. | |
| #define | __deprecated __attribute__((deprecated)) |
| Mark something as deprecated. | |
| #define | __fallthrough /* Fall through */ |
Definitions for builtin attributes and compiler directives
This group contains definitions of various attribute directives in shorter forms for use in programs. These typically aid in optimizations or provide the compiler with extra information about a symbol.
| #define __deprecated __attribute__((deprecated)) |
Mark something as deprecated.
This should be used to warn users that a function/type/etc will be removed in a future version of KOS.
| #define __fallthrough /* Fall through */ |
| #define __noreturn __attribute__((__noreturn__)) |
Identify a function that will never return.