Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:57:29

0001 /***********************************************************************************\
0002 * (c) Copyright 2013-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
0003 *                                                                                   *
0004 * This software is distributed under the terms of the Apache version 2 licence,     *
0005 * copied verbatim in the file "LICENSE".                                            *
0006 *                                                                                   *
0007 * In applying this licence, CERN does not waive the privileges and immunities       *
0008 * granted to it by virtue of its status as an Intergovernmental Organization        *
0009 * or submit itself to any jurisdiction.                                             *
0010 \***********************************************************************************/
0011 #ifndef _GAUDI_PLUGIN_SERVICE_COMMON_H_
0012 
0013 /// @author Marco Clemencic <marco.clemencic@cern.ch>
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