KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Function Attribute Defines

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 */
 

Detailed Description

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.

Macro Definition Documentation

◆ __deprecated

#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.

◆ __fallthrough

#define __fallthrough   /* Fall through */

◆ __noreturn

#define __noreturn   __attribute__((__noreturn__))

Identify a function that will never return.