netgen/ng/netgenpy.cpp

26 lines
501 B
C++
Raw Normal View History

2015-01-26 18:49:46 +05:00
#ifdef WIN32
2015-01-27 20:56:32 +05:00
// a wrapper to load netgen-dll into python
2015-01-23 15:14:42 +05:00
#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();
2015-01-26 18:49:46 +05:00
}
#endif