Go to the documentation of this file. 28 # define KSI_ATTRIBUTE(x) 30 # define KSI_ATTRIBUTE(x) __attribute__(x) 39 #define KSI_IS_VALID_TREE_LEVEL(level) (((level) <= 0xff) && ((int)(level) >= 0)) 44 #ifndef __KSI_NO_DEPRECATE__ 45 # if defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1))) 46 # define KSI_FN_DEPRECATED(decl, comment) decl __attribute__((deprecated)) 47 # elif defined(_WIN32) 48 # define KSI_FN_DEPRECATED(decl, comment) __declspec(deprecated) decl 50 # define KSI_FN_DEPRECATED(decl, comment) decl 53 # define KSI_FN_DEPRECATED(decl, comment) decl; 56 #ifndef __KSI_NO_DEPRECATE__ 57 # if defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1))) 58 # define KSI_VAR_DEPRECATED(decl, comment) decl __attribute__((deprecated)) 59 # elif defined(_WIN32) 65 #ifndef KSI_VAR_DEPRECATED 66 # define KSI_VAR_DEPRECATED(decl, comment) decl 69 #if defined(_WIN32) && defined(DLL_BUILD) && !(KSI_BUILD) 70 # define KSI_DEFINE_EXTERN(e) __declspec( dllimport ) extern e 72 # define KSI_DEFINE_EXTERN(e) extern e 78 #define KSI_UNUSED(x) KSI_ATTRIBUTE((__unused__)) x