EGSnrc C++ class library  Report PIRS-898 (2021)
Iwan Kawrakow, Ernesto Mainegra-Hing, Frederic Tessier, Reid Townson and Blake Walters
Macros
egs_libconfig.h File Reference

Defines the EGS_EXPORT and EGS_LOCAL macros. More...

#include "egs_config1.h"

Go to the source code of this file.

Macros

#define APP_EXPORT
 
#define EGS_EXPORT
 Export symbols from the egspp library. More...
 
#define EGS_LOCAL
 
#define APP_LOCAL
 

Detailed Description

Defines the EGS_EXPORT and EGS_LOCAL macros.

Author
Iwan Kawrakow, NRC

Definition in file egs_libconfig.h.

Macro Definition Documentation

#define EGS_EXPORT

Export symbols from the egspp library.

This macro is set to __declspec(dllexport) or __declspec(dllimport) on Windows, depending on whether the library is being build or used. On Linux systems and a GCC compiler supporting the visibility attribute the HAVE_VISIBILITY macro should be defined to obtain an optimized library that only exports symbols marked as such.

Definition at line 90 of file egs_libconfig.h.