Asterisk - The Open Source Telephony Project  18.5.0
Macros
compiler.h File Reference

Compiler-specific macros and other items. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define attribute_const
 
#define attribute_deprecated
 
#define attribute_malloc
 
#define attribute_may_alias
 
#define attribute_noreturn
 
#define attribute_pure
 
#define attribute_sentinel
 
#define attribute_unused
 
#define attribute_warn_unused_result
 
#define force_inline   inline
 
#define SENTINEL   ((char *)NULL)
 

Detailed Description

Compiler-specific macros and other items.

Definition in file compiler.h.

Macro Definition Documentation

◆ attribute_const

#define attribute_const

Definition at line 41 of file compiler.h.

◆ attribute_deprecated

#define attribute_deprecated

Definition at line 47 of file compiler.h.

◆ attribute_malloc

#define attribute_malloc
Examples:
/usr/src/asterisk-18.5.0/include/asterisk/strings.h.

Definition at line 59 of file compiler.h.

◆ attribute_may_alias

#define attribute_may_alias

Definition at line 77 of file compiler.h.

◆ attribute_noreturn

#define attribute_noreturn

Definition at line 83 of file compiler.h.

◆ attribute_pure

#define attribute_pure
Examples:
/usr/src/asterisk-18.5.0/include/asterisk/strings.h.

Definition at line 35 of file compiler.h.

Referenced by _ast_strlen_zero().

◆ attribute_sentinel

#define attribute_sentinel

Definition at line 65 of file compiler.h.

◆ attribute_unused

#define attribute_unused

Definition at line 53 of file compiler.h.

◆ attribute_warn_unused_result

#define attribute_warn_unused_result
Examples:
/usr/src/asterisk-18.5.0/include/asterisk/logger.h.

Definition at line 71 of file compiler.h.

◆ force_inline

#define force_inline   inline

◆ SENTINEL

#define SENTINEL   ((char *)NULL)