00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef PANDASYMBOLS_H
00020 #define PANDASYMBOLS_H
00021
00022
00023
00024
00025
00026
00027
00028
00029 #if defined(WIN32_VC) && !defined(CPPPARSER) && !defined(LINK_ALL_STATIC)
00030
00031 #ifdef BUILDING_FRAMEWORK
00032 #define EXPCL_FRAMEWORK __declspec(dllexport)
00033 #define EXPTP_FRAMEWORK
00034 #else
00035 #define EXPCL_FRAMEWORK __declspec(dllimport)
00036 #define EXPTP_FRAMEWORK extern
00037 #endif
00038
00039 #ifdef BUILDING_LINUX_AUDIO
00040 #define EXPCL_LINUX_AUDIO __declspec(dllexport)
00041 #define EXPTP_LINUX_AUDIO
00042 #else
00043 #define EXPCL_LINUX_AUDIO __declspec(dllimport)
00044 #define EXPTP_LINUX_AUDIO extern
00045 #endif
00046
00047 #ifdef BUILDING_MILES_AUDIO
00048 #define EXPCL_MILES_AUDIO __declspec(dllexport)
00049 #define EXPTP_MILES_AUDIO
00050 #else
00051 #define EXPCL_MILES_AUDIO __declspec(dllimport)
00052 #define EXPTP_MILES_AUDIO extern
00053 #endif
00054
00055 #ifdef BUILDING_FMOD_AUDIO
00056 #define EXPCL_FMOD_AUDIO __declspec(dllexport)
00057 #define EXPTP_FMOD_AUDIO
00058 #else
00059 #define EXPCL_FMOD_AUDIO __declspec(dllimport)
00060 #define EXPTP_FMOD_AUDIO extern
00061 #endif
00062
00063 #ifdef BUILDING_PANDA
00064 #define EXPCL_PANDA __declspec(dllexport)
00065 #define EXPTP_PANDA
00066 #else
00067 #define EXPCL_PANDA __declspec(dllimport)
00068 #define EXPTP_PANDA extern
00069 #endif
00070
00071 #ifdef BUILDING_PANDACR
00072 #define EXPCL_PANDACR __declspec(dllexport)
00073 #define EXPTP_PANDACR
00074 #else
00075 #define EXPCL_PANDACR __declspec(dllimport)
00076 #define EXPTP_PANDACR extern
00077 #endif
00078
00079 #ifdef BUILDING_PANDADX
00080 #define EXPCL_PANDADX __declspec(dllexport)
00081 #define EXPTP_PANDADX
00082 #else
00083 #define EXPCL_PANDADX __declspec(dllimport)
00084 #define EXPTP_PANDADX extern
00085 #endif
00086
00087 #ifdef BUILDING_PANDAEGG
00088 #define EXPCL_PANDAEGG __declspec(dllexport)
00089 #define EXPTP_PANDAEGG
00090 #else
00091 #define EXPCL_PANDAEGG __declspec(dllimport)
00092 #define EXPTP_PANDAEGG extern
00093 #endif
00094
00095 #ifdef BUILDING_PANDAEXPRESS
00096 #define EXPCL_PANDAEXPRESS __declspec(dllexport)
00097 #define EXPTP_PANDAEXPRESS
00098 #else
00099 #define EXPCL_PANDAEXPRESS __declspec(dllimport)
00100 #define EXPTP_PANDAEXPRESS extern
00101 #endif
00102
00103 #ifdef BUILDING_PANDAFX
00104 #define EXPCL_PANDAFX __declspec(dllexport)
00105 #define EXPTP_PANDAFX
00106 #else
00107 #define EXPCL_PANDAFX __declspec(dllimport)
00108 #define EXPTP_PANDAFX extern
00109 #endif
00110
00111 #ifdef BUILDING_PANDAGL
00112 #define EXPCL_PANDAGL __declspec(dllexport)
00113 #define EXPTP_PANDAGL
00114 #else
00115 #define EXPCL_PANDAGL __declspec(dllimport)
00116 #define EXPTP_PANDAGL extern
00117 #endif
00118
00119 #ifdef BUILDING_PANDAGLUT
00120 #define EXPCL_PANDAGLUT __declspec(dllexport)
00121 #define EXPTP_PANDAGLUT
00122 #else
00123 #define EXPCL_PANDAGLUT __declspec(dllimport)
00124 #define EXPTP_PANDAGLUT extern
00125 #endif
00126
00127 #ifdef BUILDING_PANDAPHYSICS
00128 #define EXPCL_PANDAPHYSICS __declspec(dllexport)
00129 #define EXPTP_PANDAPHYSICS
00130 #else
00131 #define EXPCL_PANDAPHYSICS __declspec(dllimport)
00132 #define EXPTP_PANDAPHYSICS extern
00133 #endif
00134
00135 #ifdef BUILDING_PANDARIB
00136 #define EXPCL_PANDARIB __declspec(dllexport)
00137 #define EXPTP_PANDARIB
00138 #else
00139 #define EXPCL_PANDARIB __declspec(dllimport)
00140 #define EXPTP_PANDARIB extern
00141 #endif
00142
00143 #ifdef BUILDING_PANDAWIN
00144 #define EXPCL_PANDAWIN __declspec(dllexport)
00145 #define EXPTP_PANDAWIN
00146 #else
00147 #define EXPCL_PANDAWIN __declspec(dllimport)
00148 #define EXPTP_PANDAWIN extern
00149 #endif
00150
00151 #ifdef BUILDING_SHADER
00152 #define EXPCL_SHADER __declspec(dllexport)
00153 #define EXPTP_SHADER
00154 #else
00155 #define EXPCL_SHADER __declspec(dllimport)
00156 #define EXPTP_SHADER extern
00157 #endif
00158
00159 #else
00160
00161 #define EXPCL_FRAMEWORK
00162 #define EXPTP_FRAMEWORK
00163
00164 #define EXPCL_LINUX_AUDIO
00165 #define EXPTP_LINUX_AUDIO
00166
00167 #define EXPCL_MILES_AUDIO
00168 #define EXPTP_MILES_AUDIO
00169
00170 #define EXPCL_FMOD_AUDIO
00171 #define EXPTP_FMOD_AUDIO
00172
00173 #define EXPCL_PANDA
00174 #define EXPTP_PANDA
00175
00176 #define EXPCL_PANDACR
00177 #define EXPTP_PANDACR
00178
00179 #define EXPCL_PANDADX
00180 #define EXPTP_PANDADX
00181
00182 #define EXPCL_PANDAEGG
00183 #define EXPTP_PANDAEGG
00184
00185 #define EXPCL_PANDAEXPRESS
00186 #define EXPTP_PANDAEXPRESS
00187
00188 #define EXPCL_PANDAFX
00189 #define EXPTP_PANDAFX
00190
00191 #define EXPCL_PANDAGL
00192 #define EXPTP_PANDAGL
00193
00194 #define EXPCL_PANDAGLUT
00195 #define EXPTP_PANDAGLUT
00196
00197 #define EXPCL_PANDAPHYSICS
00198 #define EXPTP_PANDAPHYSICS
00199
00200 #define EXPCL_PANDARIB
00201 #define EXPTP_PANDARIB
00202
00203 #define EXPCL_PANDAWIN
00204 #define EXPTP_PANDAWIN
00205
00206 #define EXPCL_SHADER
00207 #define EXPTP_SHADER
00208
00209 #endif
00210
00211 #if defined(WIN32_VC) && !defined(CPPPARSER)
00212 #define INLINE_LINMATH __forceinline
00213 #define INLINE_MATHUTIL __forceinline
00214
00215 #ifdef BUILDING_PANDA
00216 #define INLINE_GRAPH __forceinline
00217 #define INLINE_DISPLAY __forceinline
00218 #else
00219 #define INLINE_GRAPH
00220 #define DONT_INLINE_GRAPH
00221 #define INLINE_DISPLAY
00222 #define DONT_INLINE_DISPLAY
00223 #endif
00224
00225 #else
00226 #define INLINE_LINMATH INLINE
00227 #define INLINE_MATHUTIL INLINE
00228 #define INLINE_GRAPH INLINE
00229 #define INLINE_DISPLAY INLINE
00230 #endif
00231
00232 #define INLINE_CHAR INLINE
00233 #define INLINE_CHAT INLINE
00234 #define INLINE_CHAN INLINE
00235 #define INLINE_CHANCFG INLINE
00236 #define INLINE_COLLIDE INLINE
00237 #define INLINE_CULL INLINE
00238 #define INLINE_DEVICE INLINE
00239 #define INLINE_DGRAPH INLINE
00240 #define INLINE_GOBJ INLINE
00241 #define INLINE_GRUTIL INLINE
00242 #define INLINE_GSGBASE INLINE
00243 #define INLINE_GSGMISC INLINE
00244 #define INLINE_LIGHT INLINE
00245 #define INLINE_PARAMETRICS INLINE
00246 #define INLINE_SGRATTRIB INLINE
00247 #define INLINE_SGMANIP INLINE
00248 #define INLINE_SGRAPH INLINE
00249 #define INLINE_SGRAPHUTIL INLINE
00250 #define INLINE_SWITCHNODE INLINE
00251 #define INLINE_TEXT INLINE
00252 #define INLINE_TFORM INLINE
00253 #define INLINE_LERP INLINE
00254 #define INLINE_LOADER INLINE
00255 #define INLINE_PUTIL INLINE
00256 #define INLINE_EFFECTS INLINE
00257 #define INLINE_GUI INLINE
00258 #define INLINE_AUDIO INLINE
00259
00260 #endif