dll header

This commit is contained in:
Christopher Lackner 2019-08-06 20:45:15 +02:00
parent ee07a86185
commit 0e3636436d
4 changed files with 4 additions and 7 deletions

View File

@ -95,7 +95,7 @@ void STLGeometry :: Save (string filename) const
extern STLParameters stlparam; DLL_HEADER extern STLParameters stlparam;
int STLGeometry :: GenerateMesh (shared_ptr<Mesh> & mesh, MeshingParameters & mparam) int STLGeometry :: GenerateMesh (shared_ptr<Mesh> & mesh, MeshingParameters & mparam)
{ {
STLParameters stlpar = stlparam; STLParameters stlpar = stlparam;

View File

@ -22,7 +22,7 @@ namespace netgen
DLL_HEADER extern shared_ptr<NetgenGeometry> ng_geometry; DLL_HEADER extern shared_ptr<NetgenGeometry> ng_geometry;
DLL_HEADER extern shared_ptr<Mesh> mesh; DLL_HEADER extern shared_ptr<Mesh> mesh;
DLL_HEADER extern MeshingParameters mparam; DLL_HEADER extern MeshingParameters mparam;
extern STLParameters stlparam; DLL_HEADER extern STLParameters stlparam;
static VisualSceneSTLGeometry vsstlgeom; static VisualSceneSTLGeometry vsstlgeom;
static VisualSceneSTLMeshing vsstlmeshing; static VisualSceneSTLMeshing vsstlmeshing;

View File

@ -1463,7 +1463,6 @@ void STLParameters :: Print (ostream & ost) const
} }
DLL_HEADER STLParameters stlparam; DLL_HEADER extern STLParameters stlparam;
STLParameters stlparam;
} }

View File

@ -275,8 +275,6 @@ public:
void Print (ostream & ost) const; void Print (ostream & ost) const;
}; };
// DLL_HEADER extern STLParameters stlparam;
void STLMeshing (STLGeometry & geom, void STLMeshing (STLGeometry & geom,
Mesh & mesh, Mesh & mesh,