This commit is contained in:
Matthias Hochsteger 2016-01-29 15:29:03 +01:00
parent da7cd7c0ad
commit 2a2b728d55
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ DLL_HEADER void ExportCSG()
([] (double x, double y) { return Vec<2>(x,y); }));
#if BOOST_VERSION < 106000
#if BOOST_VERSION >= 106000
bp::register_ptr_to_python<shared_ptr<SPSolid>>();
#endif
bp::class_<SPSolid, shared_ptr<SPSolid>, boost::noncopyable> ("Solid", bp::no_init)

View File

@ -296,7 +296,7 @@ DLL_HEADER void ExportNetgenMeshing()
;
#if BOOST_VERSION < 106000
#if BOOST_VERSION >= 106000
bp::register_ptr_to_python<shared_ptr<Mesh>>();
#endif
bp::class_<Mesh,shared_ptr<Mesh>,boost::noncopyable>("Mesh", bp::no_init)