mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
fix for VS2015 Update 3
This commit is contained in:
parent
1ce39a7c56
commit
f152c4924e
@ -13,6 +13,10 @@ namespace netgen
|
|||||||
|
|
||||||
inline void NOOP_Deleter(void *) { ; }
|
inline void NOOP_Deleter(void *) { ; }
|
||||||
|
|
||||||
|
#if defined(_MSC_FULL_VER) && _MSC_FULL_VER == 190024213
|
||||||
|
namespace boost { template<> const volatile CSGeometry* get_pointer(const volatile CSGeometry* p) { return p; } }
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// a shadow solid tree using shared pointers.
|
// a shadow solid tree using shared pointers.
|
||||||
|
|
||||||
|
@ -492,6 +492,10 @@ namespace netgen
|
|||||||
#include <../general/ngpython.hpp>
|
#include <../general/ngpython.hpp>
|
||||||
namespace bp = boost::python;
|
namespace bp = boost::python;
|
||||||
|
|
||||||
|
#if defined(_MSC_FULL_VER) && _MSC_FULL_VER == 190024213
|
||||||
|
namespace boost { template<> const volatile netgen::VisualSceneGeometry* get_pointer(const volatile netgen::VisualSceneGeometry* p) { return p; } }
|
||||||
|
#endif
|
||||||
|
|
||||||
DLL_HEADER void ExportCSGVis()
|
DLL_HEADER void ExportCSGVis()
|
||||||
{
|
{
|
||||||
using namespace netgen;
|
using namespace netgen;
|
||||||
|
@ -9,12 +9,15 @@
|
|||||||
using namespace netgen;
|
using namespace netgen;
|
||||||
namespace bp = boost::python;
|
namespace bp = boost::python;
|
||||||
|
|
||||||
|
#if defined(_MSC_FULL_VER) && _MSC_FULL_VER == 190024213
|
||||||
|
namespace boost { template<> const volatile SplineGeometry2d* get_pointer(const volatile SplineGeometry2d* p) { return p; } }
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace netgen
|
namespace netgen
|
||||||
{
|
{
|
||||||
extern std::shared_ptr<NetgenGeometry> ng_geometry;
|
extern std::shared_ptr<NetgenGeometry> ng_geometry;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DLL_HEADER void ExportGeom2d()
|
DLL_HEADER void ExportGeom2d()
|
||||||
{
|
{
|
||||||
ModuleScope module("geom2d");
|
ModuleScope module("geom2d");
|
||||||
|
@ -3533,6 +3533,10 @@ namespace netgen
|
|||||||
#include <../general/ngpython.hpp>
|
#include <../general/ngpython.hpp>
|
||||||
namespace bp = boost::python;
|
namespace bp = boost::python;
|
||||||
|
|
||||||
|
#if defined(_MSC_FULL_VER) && _MSC_FULL_VER == 190024213
|
||||||
|
namespace boost { template<> const volatile netgen::VisualSceneMesh* get_pointer(const volatile netgen::VisualSceneMesh* p) { return p; } }
|
||||||
|
#endif
|
||||||
|
|
||||||
DLL_HEADER void ExportMeshVis()
|
DLL_HEADER void ExportMeshVis()
|
||||||
{
|
{
|
||||||
using namespace netgen;
|
using namespace netgen;
|
||||||
|
Loading…
Reference in New Issue
Block a user