Go to the documentation of this file.
6 #ifndef ENABLE_DYNDRIVERS
8 #define ENABLE_DYNDRIVERS
13 #if defined ( _WIN32 )
15 #if defined ( __VISUALC__ ) || defined ( _MSC_VER ) || defined ( __BORLANDC__ ) || defined ( __GNUC__ ) || defined ( __WATCOMC__ )
16 #define PLDLLEXPORT __declspec( dllexport )
17 #define PLDLLIMPORT __declspec( dllimport )
22 #elif defined ( __CYGWIN__ )
23 #define PLDLLEXPORT __declspec( dllexport )
24 #define PLDLLIMPORT __declspec( dllimport )
25 #elif defined ( __GNUC__ ) && __GNUC__ > 3
29 #define PLDLLEXPORT __attribute__ ( ( visibility( "default" ) ) )
45 #if defined ( plplot_EXPORTS )
46 #define PLDLLIMPEXP PLDLLEXPORT
47 #define PLDLLIMPEXP_DATA( type ) PLDLLEXPORT type
49 #define PLDLLIMPEXP PLDLLIMPORT
50 #define PLDLLIMPEXP_DATA( type ) PLDLLIMPORT type
56 #ifdef ENABLE_DYNDRIVERS
57 #if defined ( aqt_EXPORTS ) || \
58 defined ( cairo_EXPORTS ) || \
59 defined ( cgm_EXPORTS ) || \
60 defined ( gd_EXPORTS ) || \
61 defined ( mem_EXPORTS ) || \
62 defined ( ntk_EXPORTS ) || \
63 defined ( null_EXPORTS ) || \
64 defined ( pdf_EXPORTS ) || \
65 defined ( plmeta_EXPORTS ) || \
66 defined ( ps_EXPORTS ) || \
67 defined ( pstex_EXPORTS ) || \
68 defined ( psttf_EXPORTS ) || \
69 defined ( svg_EXPORTS ) || \
70 defined ( tk_EXPORTS ) || \
71 defined ( tkwin_EXPORTS ) || \
72 defined ( wingcc_EXPORTS ) || \
73 defined ( wxwidgets_EXPORTS ) || \
74 defined ( xfig_EXPORTS ) || \
75 defined ( xwin_EXPORTS ) || \
76 defined ( qt_EXPORTS ) || \
77 defined ( wingdi_EXPORTS )
78 #define PLDLLIMPEXP_DRIVER PLDLLEXPORT
79 #define PLDLLIMPEXP_DRIVER_DATA( type ) PLDLLEXPORT type
81 #define PLDLLIMPEXP_DRIVER PLDLLIMPORT
82 #define PLDLLIMPEXP_DRIVER_DATA( type ) PLDLLIMPORT type
85 #define PLDLLIMPEXP_DRIVER PLDLLIMPEXP
86 #define PLDLLIMPEXP_DRIVER_DATA( type ) PLDLLIMPEXP_DATA( type )
89 #if defined ( plplotcxx_EXPORTS )
90 #define PLDLLIMPEXP_CXX PLDLLEXPORT
91 #define PLDLLIMPEXP_CXX_DATA( type ) PLDLLEXPORT type
93 #define PLDLLIMPEXP_CXX PLDLLIMPORT
94 #define PLDLLIMPEXP_CXX_DATA( type ) PLDLLIMPORT type
97 #if defined ( plplotfortranc_EXPORTS )
98 #define PLDLLIMPEXP_FORTRANC PLDLLEXPORT
99 #define PLDLLIMPEXP_FORTRANC_DATA( type ) PLDLLEXPORT type
101 #define PLDLLIMPEXP_FORTRANC PLDLLIMPORT
102 #define PLDLLIMPEXP_FORTRANC_DATA( type ) PLDLLIMPORT type
105 #if defined ( plplotwxwidgets_EXPORTS )
106 #define PLDLLIMPEXP_WX PLDLLEXPORT
107 #define PLDLLIMPEXP_WX_DATA( type ) PLDLLEXPORT type
109 #define PLDLLIMPEXP_WX PLDLLIMPORT
110 #define PLDLLIMPEXP_WX_DATA( type ) PLDLLIMPORT type
116 #if defined ( tclmatrix_EXPORTS ) || \
117 ( !defined ( ENABLE_DYNDRIVERS ) && defined ( plplot_EXPORTS ) )
118 #define PLDLLIMPEXP_TCLMAT PLDLLEXPORT
119 #define PLDLLIMPEXP_TCLMAT_DATA( type ) PLDLLEXPORT type
121 #define PLDLLIMPEXP_TCLMAT PLDLLIMPORT
122 #define PLDLLIMPEXP_TCLMAT_DATA( type ) PLDLLIMPORT type
128 #if defined ( plplottcltk_Main_EXPORTS ) || \
129 defined ( plplottcltk_EXPORTS ) || \
130 ( !defined ( ENABLE_DYNDRIVERS ) && defined ( plplot_EXPORTS ) )
131 #define PLDLLIMPEXP_TCLTK PLDLLEXPORT
132 #define PLDLLIMPEXP_TCLTK_DATA( type ) PLDLLEXPORT type
134 #define PLDLLIMPEXP_TCLTK PLDLLIMPORT
135 #define PLDLLIMPEXP_TCLTK_DATA( type ) PLDLLIMPORT type
141 #if defined ( plplotqt_EXPORTS ) || \
142 ( !defined ( ENABLE_DYNDRIVERS ) && defined ( plplot_EXPORTS ) )
143 #define PLDLLIMPEXP_QT PLDLLEXPORT
144 #define PLDLLIMPEXP_QT_DATA( type ) PLDLLEXPORT type
146 #define PLDLLIMPEXP_QT PLDLLIMPORT
147 #define PLDLLIMPEXP_QT_DATA( type ) PLDLLIMPORT type
150 #if defined ( plplot_pyqt4_EXPORTS )
151 #define PLDLLIMPEXP_PYQT4 PLDLLEXPORT
152 #define PLDLLIMPEXP_PYQT4_DATA( type ) PLDLLEXPORT type
154 #define PLDLLIMPEXP_PYQT4 PLDLLIMPORT
155 #define PLDLLIMPEXP_PYQT4_DATA( type ) PLDLLIMPORT type
158 #if defined ( plplot_pyqt5_EXPORTS )
159 #define PLDLLIMPEXP_PYQT5 PLDLLEXPORT
160 #define PLDLLIMPEXP_PYQT5_DATA( type ) PLDLLEXPORT type
162 #define PLDLLIMPEXP_PYQT5 PLDLLIMPORT
163 #define PLDLLIMPEXP_PYQT5_DATA( type ) PLDLLIMPORT type