mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40: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 <stlgeom.hpp>
|
||||
|
||||
#ifdef WIN32
|
||||
#define DLL_HEADER __declspec(dllexport)
|
||||
#else
|
||||
#define DLL_HEADER
|
||||
#endif
|
||||
|
||||
using namespace netgen;
|
||||
namespace netgen
|
||||
{
|
||||
|
@ -1214,6 +1214,14 @@ void VisualSceneSTLMeshing :: MouseDblClick (int px, int py)
|
||||
|
||||
|
||||
#ifdef NG_PYTHON
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
#define DLL_HEADER __declspec(dllexport)
|
||||
#else
|
||||
#define DLL_HEADER
|
||||
#endif
|
||||
|
||||
#include <../general/ngpython.hpp>
|
||||
|
||||
DLL_HEADER void ExportSTLVis(py::module &m)
|
||||
|
Loading…
Reference in New Issue
Block a user