mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
added WIN32 define for python export
This commit is contained in:
parent
e119b98043
commit
f77b4bf60a
@ -1228,7 +1228,7 @@ namespace netgen
|
||||
|
||||
|
||||
void Ng_Redraw () { ; }
|
||||
void Ng_ClearSolutionData () { ; }
|
||||
void Ng_ClearSolutionData();// {; }
|
||||
/*
|
||||
void Ng_SetSolutionData (Ng_SolutionData * soldata)
|
||||
{
|
||||
@ -1240,14 +1240,20 @@ void Ng_InitSolutionData (Ng_SolutionData * soldata) { ; }
|
||||
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef NG_PYTHON
|
||||
#include <boost/python.hpp>
|
||||
void ExportNetgenMeshing();
|
||||
void ExportMeshVis();
|
||||
void ExportCSG();
|
||||
void ExportCSGVis();
|
||||
void ExportGeom2d();
|
||||
BOOST_PYTHON_MODULE(nglib) {
|
||||
ExportCSG();
|
||||
ExportCSGVis();
|
||||
ExportNetgenMeshing();
|
||||
ExportMeshVis();
|
||||
ExportGeom2d();
|
||||
}
|
||||
#endif
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user