netgen/ng/netgenpy.cpp
2015-01-27 15:56:32 +00:00

26 lines
501 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