geom2d as dll

This commit is contained in:
Joachim Schoeberl 2011-03-03 22:03:01 +00:00
parent 3d2f7d7457
commit ad3b2f5300

View File

@ -58,8 +58,12 @@ namespace netgen
} }
using namespace netgen; using namespace netgen;
#ifdef WIN32
extern "C" __declspec(dllexport) int Ng_geom2d_Init (Tcl_Interp * interp);
#else
extern "C" int Ng_geom2d_Init (Tcl_Interp * interp); extern "C" int Ng_geom2d_Init (Tcl_Interp * interp);
#endif
int Ng_geom2d_Init (Tcl_Interp * interp) int Ng_geom2d_Init (Tcl_Interp * interp)
{ {