LiteCore
Couchbase Lite cross-platform core implementation
Loading...
Searching...
No Matches
c4Compat.h File Reference

Go to the source code of this file.

Macros

#define C4INLINE   inline
 
#define C4_ASSUME_NONNULL_BEGIN
 
#define C4_ASSUME_NONNULL_END
 
#define C4NULLABLE
 
#define C4NONNULL
 
#define C4_RETURNS_NONNULL
 
#define C4_ENUM_ATTRIBUTES
 
#define C4_OPTIONS_ATTRIBUTES
 
#define C4_ENUM(_type, _name)
 
#define C4_OPTIONS(_type, _name)
 
#define C4UNUSED
 
#define C4API
 
#define C4API_BEGIN_DECLS
 
#define C4API_END_DECLS
 
#define C4_DEPRECATED(MSG)   __attribute((deprecated(MSG)))
 
#define CBL_CORE_API   __attribute__((visibility("default")))
 
#define __printflike(fmtarg, firstvararg)   __attribute__((__format__(__printf__, fmtarg, firstvararg)))
 

Macro Definition Documentation

◆ __printflike

#define __printflike ( fmtarg,
firstvararg )   __attribute__((__format__(__printf__, fmtarg, firstvararg)))

◆ C4_ASSUME_NONNULL_BEGIN

#define C4_ASSUME_NONNULL_BEGIN

◆ C4_ASSUME_NONNULL_END

#define C4_ASSUME_NONNULL_END

◆ C4_DEPRECATED

#define C4_DEPRECATED ( MSG)    __attribute((deprecated(MSG)))

◆ C4_ENUM

#define C4_ENUM ( _type,
_name )
Value:
enum _name : _type _name; \
enum _name : _type

◆ C4_ENUM_ATTRIBUTES

#define C4_ENUM_ATTRIBUTES

◆ C4_OPTIONS

#define C4_OPTIONS ( _type,
_name )
Value:
enum _name : _type _name; \
enum _name : _type

◆ C4_OPTIONS_ATTRIBUTES

#define C4_OPTIONS_ATTRIBUTES

◆ C4_RETURNS_NONNULL

#define C4_RETURNS_NONNULL

◆ C4API

#define C4API

◆ C4API_BEGIN_DECLS

#define C4API_BEGIN_DECLS

◆ C4API_END_DECLS

#define C4API_END_DECLS

◆ C4INLINE

#define C4INLINE   inline

◆ C4NONNULL

#define C4NONNULL

◆ C4NULLABLE

#define C4NULLABLE

◆ C4UNUSED

#define C4UNUSED

◆ CBL_CORE_API

#define CBL_CORE_API   __attribute__((visibility("default")))