mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +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_Redraw () { ; }
|
||||||
void Ng_ClearSolutionData () { ; }
|
void Ng_ClearSolutionData();// {; }
|
||||||
/*
|
/*
|
||||||
void Ng_SetSolutionData (Ng_SolutionData * soldata)
|
void Ng_SetSolutionData (Ng_SolutionData * soldata)
|
||||||
{
|
{
|
||||||
@ -1240,14 +1240,20 @@ void Ng_InitSolutionData (Ng_SolutionData * soldata) { ; }
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
#ifdef NG_PYTHON
|
#ifdef NG_PYTHON
|
||||||
#include <boost/python.hpp>
|
#include <boost/python.hpp>
|
||||||
void ExportNetgenMeshing();
|
void ExportNetgenMeshing();
|
||||||
|
void ExportMeshVis();
|
||||||
void ExportCSG();
|
void ExportCSG();
|
||||||
|
void ExportCSGVis();
|
||||||
void ExportGeom2d();
|
void ExportGeom2d();
|
||||||
BOOST_PYTHON_MODULE(nglib) {
|
BOOST_PYTHON_MODULE(nglib) {
|
||||||
ExportCSG();
|
ExportCSG();
|
||||||
|
ExportCSGVis();
|
||||||
ExportNetgenMeshing();
|
ExportNetgenMeshing();
|
||||||
|
ExportMeshVis();
|
||||||
ExportGeom2d();
|
ExportGeom2d();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user