Go to the documentation of this file. 20 #ifndef XAPIAN_INCLUDED_DEPRECATED_H 21 #define XAPIAN_INCLUDED_DEPRECATED_H 23 #if !defined XAPIAN_IN_XAPIAN_H && !defined XAPIAN_LIB_BUILD 24 # error Never use <xapian/deprecated.h> directly; include <xapian.h> instead. 34 #ifdef XAPIAN_IN_XAPIAN_H 35 # define XAPIAN_DEPRECATED_EX(D) XAPIAN_DEPRECATED(D) 36 # define XAPIAN_DEPRECATED_CLASS_EX XAPIAN_DEPRECATED_CLASS 38 # define XAPIAN_DEPRECATED_EX(D) D 39 # define XAPIAN_DEPRECATED_CLASS_EX 45 #ifndef XAPIAN_DEPRECATED 50 # define XAPIAN_DEPRECATED(D) D __attribute__((__deprecated__)) 51 # define XAPIAN_DEPRECATED_CLASS __attribute__((__deprecated__)) 52 # elif defined _MSC_VER && _MSC_VER >= 1300 54 # define XAPIAN_DEPRECATED(D) __declspec(deprecated) D 55 # define XAPIAN_DEPRECATED_CLASS __declspec(deprecated) 57 # define XAPIAN_DEPRECATED(D) D 61 #ifndef XAPIAN_DEPRECATED_CLASS 62 # define XAPIAN_DEPRECATED_CLASS