00001
00002 #ifndef KUDU_EXPORT_H
00003 #define KUDU_EXPORT_H
00004
00005 #ifdef KUDU_STATIC_DEFINE
00006 # define KUDU_EXPORT
00007 # define KUDU_NO_EXPORT
00008 #else
00009 # ifndef KUDU_EXPORT
00010 # ifdef kudu_client_exported_EXPORTS
00011
00012 # define KUDU_EXPORT __attribute__((visibility("default")))
00013 # else
00014
00015 # define KUDU_EXPORT __attribute__((visibility("default")))
00016 # endif
00017 # endif
00018
00019 # ifndef KUDU_NO_EXPORT
00020 # define KUDU_NO_EXPORT __attribute__((visibility("hidden")))
00021 # endif
00022 #endif
00023
00024 #ifndef KUDU_DEPRECATED
00025 # define KUDU_DEPRECATED __attribute__ ((__deprecated__))
00026 #endif
00027
00028 #ifndef KUDU_DEPRECATED_EXPORT
00029 # define KUDU_DEPRECATED_EXPORT KUDU_EXPORT KUDU_DEPRECATED
00030 #endif
00031
00032 #ifndef KUDU_DEPRECATED_NO_EXPORT
00033 # define KUDU_DEPRECATED_NO_EXPORT KUDU_NO_EXPORT KUDU_DEPRECATED
00034 #endif
00035
00036 #define DEFINE_NO_DEPRECATED 0
00037 #if DEFINE_NO_DEPRECATED
00038 # define KUDU_NO_DEPRECATED
00039 #endif
00040
00041 #endif