netgen/ng/netgenpy.cpp
2015-01-27 15:53:58 +00:00

25 lines
499 B
C++

#ifdef WIN32
// a wrapper to load netgen-dll into python
#include <iostream>
#include <boost/python.hpp>
void __declspec(dllimport) ExportNetgenMeshing();
void __declspec(dllimport) ExportMeshVis();
void __declspec(dllimport) ExportCSG();
void __declspec(dllimport) ExportCSGVis();
void __declspec(dllimport) ExportGeom2d();
BOOST_PYTHON_MODULE(nglib)
{
ExportCSG();
ExportCSGVis();
ExportNetgenMeshing();
ExportMeshVis();
ExportGeom2d();
}
#endif