mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 13:50:33 +05:00
fix DLL_HEADER export
This commit is contained in:
parent
a5e411d008
commit
2649726692
@ -4,6 +4,12 @@
|
|||||||
#include <../general/ngpython.hpp>
|
#include <../general/ngpython.hpp>
|
||||||
#include <stlgeom.hpp>
|
#include <stlgeom.hpp>
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
#define DLL_HEADER __declspec(dllexport)
|
||||||
|
#else
|
||||||
|
#define DLL_HEADER
|
||||||
|
#endif
|
||||||
|
|
||||||
using namespace netgen;
|
using namespace netgen;
|
||||||
namespace netgen
|
namespace netgen
|
||||||
{
|
{
|
||||||
|
@ -1214,6 +1214,14 @@ void VisualSceneSTLMeshing :: MouseDblClick (int px, int py)
|
|||||||
|
|
||||||
|
|
||||||
#ifdef NG_PYTHON
|
#ifdef NG_PYTHON
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
#define DLL_HEADER __declspec(dllexport)
|
||||||
|
#else
|
||||||
|
#define DLL_HEADER
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <../general/ngpython.hpp>
|
#include <../general/ngpython.hpp>
|
||||||
|
|
||||||
DLL_HEADER void ExportSTLVis(py::module &m)
|
DLL_HEADER void ExportSTLVis(py::module &m)
|
||||||
|
Loading…
Reference in New Issue
Block a user