Oolite
Loading...
Searching...
No Matches
OOFunctionAttributes.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GCC_ATTR(x)
 
#define __has_feature(x)   (0)
 
#define __has_attribute(x)   (0)
 
#define __has_extension(x)   (0)
 
#define OOINLINE   static inline
 
#define ALWAYS_INLINE_FUNC   GCC_ATTR((always_inline))
 
#define PURE_FUNC   GCC_ATTR((pure))
 
#define CONST_FUNC   GCC_ATTR((const))
 
#define NONNULL_FUNC   GCC_ATTR((nonnull))
 
#define DEPRECATED_FUNC   GCC_ATTR((deprecated))
 
#define NO_RETURN_FUNC   GCC_ATTR((noreturn))
 
#define NO_INLINE_FUNC   GCC_ATTR((noinline))
 
#define INLINE_PURE_FUNC   ALWAYS_INLINE_FUNC PURE_FUNC
 
#define INLINE_CONST_FUNC   ALWAYS_INLINE_FUNC CONST_FUNC
 
#define DEPRECATED_MSG(msg)   DEPRECATED_FUNC
 
#define DEPRECATED_METHOD(msg)
 
#define EXPECT(x)   (x)
 
#define EXPECT_NOT(x)   (x)
 
#define OO_RETURNS_RETAINED
 
#define OO_NS_CONSUMED
 
#define OO_UNREACHABLE()   do {} while (0)
 
#define OO_TAKES_FORMAT_STRING(stringIndex, firstToCheck)
 

Macro Definition Documentation

◆ __has_attribute

#define __has_attribute (   x)    (0)

Definition at line 20 of file OOFunctionAttributes.h.

◆ __has_extension

#define __has_extension (   x)    (0)

Definition at line 24 of file OOFunctionAttributes.h.

◆ __has_feature

#define __has_feature (   x)    (0)

Definition at line 16 of file OOFunctionAttributes.h.

◆ ALWAYS_INLINE_FUNC

#define ALWAYS_INLINE_FUNC   GCC_ATTR((always_inline))

Definition at line 36 of file OOFunctionAttributes.h.

◆ CONST_FUNC

#define CONST_FUNC   GCC_ATTR((const))

Definition at line 42 of file OOFunctionAttributes.h.

◆ DEPRECATED_FUNC

#define DEPRECATED_FUNC   GCC_ATTR((deprecated))

Definition at line 44 of file OOFunctionAttributes.h.

◆ DEPRECATED_METHOD

#define DEPRECATED_METHOD (   msg)

Definition at line 63 of file OOFunctionAttributes.h.

◆ DEPRECATED_MSG

#define DEPRECATED_MSG (   msg)    DEPRECATED_FUNC

Definition at line 55 of file OOFunctionAttributes.h.

◆ EXPECT

#define EXPECT (   x)    (x)

Definition at line 71 of file OOFunctionAttributes.h.

◆ EXPECT_NOT

#define EXPECT_NOT (   x)    (x)

Definition at line 72 of file OOFunctionAttributes.h.

◆ GCC_ATTR

#define GCC_ATTR (   x)

Definition at line 9 of file OOFunctionAttributes.h.

◆ INLINE_CONST_FUNC

#define INLINE_CONST_FUNC   ALWAYS_INLINE_FUNC CONST_FUNC

Definition at line 49 of file OOFunctionAttributes.h.

◆ INLINE_PURE_FUNC

#define INLINE_PURE_FUNC   ALWAYS_INLINE_FUNC PURE_FUNC

Definition at line 48 of file OOFunctionAttributes.h.

◆ NO_INLINE_FUNC

#define NO_INLINE_FUNC   GCC_ATTR((noinline))

Definition at line 46 of file OOFunctionAttributes.h.

◆ NO_RETURN_FUNC

#define NO_RETURN_FUNC   GCC_ATTR((noreturn))

Definition at line 45 of file OOFunctionAttributes.h.

◆ NONNULL_FUNC

#define NONNULL_FUNC   GCC_ATTR((nonnull))

Definition at line 43 of file OOFunctionAttributes.h.

◆ OO_NS_CONSUMED

#define OO_NS_CONSUMED

Definition at line 88 of file OOFunctionAttributes.h.

◆ OO_RETURNS_RETAINED

#define OO_RETURNS_RETAINED

Definition at line 80 of file OOFunctionAttributes.h.

◆ OO_TAKES_FORMAT_STRING

#define OO_TAKES_FORMAT_STRING (   stringIndex,
  firstToCheck 
)

Definition at line 114 of file OOFunctionAttributes.h.

◆ OO_UNREACHABLE

#define OO_UNREACHABLE ( )    do {} while (0)

Definition at line 96 of file OOFunctionAttributes.h.

◆ OOINLINE

#define OOINLINE   static inline

Definition at line 31 of file OOFunctionAttributes.h.

◆ PURE_FUNC

#define PURE_FUNC   GCC_ATTR((pure))

Definition at line 41 of file OOFunctionAttributes.h.