added WIN32 define for python export

This commit is contained in:
Gerhard Kitzler 2014-10-09 16:44:43 +00:00
parent e119b98043
commit f77b4bf60a

View File

@ -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