#ifdef WIN32 // a wrapper to load netgen-dll into python #include #include 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