Go to the documentation of this file.
20 #ifndef XAPIAN_INCLUDED_ATTRIBUTES_H
21 #define XAPIAN_INCLUDED_ATTRIBUTES_H
26 # define XAPIAN_CONST_FUNCTION __attribute__((__const__))
28 # define XAPIAN_PURE_FUNCTION __attribute__((__pure__))
34 # ifndef XAPIAN_LIB_BUILD
39 # if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 8) || \
41 # define XAPIAN_NONNULL(LIST) __attribute__((__nonnull__ LIST))
54 # define XAPIAN_CONST_FUNCTION
59 # define XAPIAN_PURE_FUNCTION
63 #ifndef XAPIAN_NONNULL
84 # define XAPIAN_NONNULL(LIST)