File indexing completed on 2025-01-18 09:57:29
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef _GAUDI_PLUGIN_SERVICE_COMMON_H_
0012
0013
0014
0015 # ifndef GAUDI_PLUGIN_SERVICE_USE_V2
0016 # if defined( GAUDI_PLUGIN_SERVICE_V2 ) || !defined( GAUDI_PLUGIN_SERVICE_V1 )
0017 # define GAUDI_PLUGIN_SERVICE_V2_INLINE inline
0018 # define GAUDI_PLUGIN_SERVICE_V1_INLINE
0019 # define GAUDI_PLUGIN_SERVICE_USE_V2 1
0020 # else
0021 # define GAUDI_PLUGIN_SERVICE_V2_INLINE
0022 # define GAUDI_PLUGIN_SERVICE_V1_INLINE inline
0023 # define GAUDI_PLUGIN_SERVICE_USE_V2 0
0024 # endif
0025 # endif
0026
0027 # if __GNUC__ >= 4
0028 # define GAUDIPS_HASCLASSVISIBILITY
0029 # endif
0030
0031 # if defined( GAUDIPS_HASCLASSVISIBILITY )
0032 # define GAUDIPS_IMPORT __attribute__( ( visibility( "default" ) ) )
0033 # define GAUDIPS_EXPORT __attribute__( ( visibility( "default" ) ) )
0034 # define GAUDIPS_LOCAL __attribute__( ( visibility( "hidden" ) ) )
0035 # else
0036 # define GAUDIPS_IMPORT
0037 # define GAUDIPS_EXPORT
0038 # define GAUDIPS_LOCAL
0039 # endif
0040
0041 # ifdef GaudiPluginService_EXPORTS
0042 # define GAUDIPS_API GAUDIPS_EXPORT
0043 # else
0044 # define GAUDIPS_API GAUDIPS_IMPORT
0045 # endif
0046
0047 #endif