DLL_HEADER, togl include

This commit is contained in:
Matthias Hochsteger 2015-01-16 10:29:25 +00:00
parent dafb55f4a5
commit cb5c6b477c
7 changed files with 9 additions and 5 deletions

View File

@ -143,7 +143,7 @@ namespace netgen
extern CSGeometry * ParseCSG (istream & istr); extern CSGeometry * ParseCSG (istream & istr);
} }
void ExportCSG() DLL_HEADER void ExportCSG()
{ {
ModuleScope module("csg"); ModuleScope module("csg");

View File

@ -492,7 +492,7 @@ namespace netgen
#include <../general/ngpython.hpp> #include <../general/ngpython.hpp>
namespace bp = boost::python; namespace bp = boost::python;
void ExportCSGVis() DLL_HEADER void ExportCSGVis()
{ {
using namespace netgen; using namespace netgen;

View File

@ -10,7 +10,7 @@ using namespace netgen;
namespace bp = boost::python; namespace bp = boost::python;
void ExportGeom2d() DLL_HEADER void ExportGeom2d()
{ {
ModuleScope module("geom2d"); ModuleScope module("geom2d");

View File

@ -41,7 +41,7 @@ void ExportArray ()
void ExportNetgenMeshing() DLL_HEADER void ExportNetgenMeshing()
{ {
ModuleScope module("meshing"); ModuleScope module("meshing");

View File

@ -3532,7 +3532,7 @@ namespace netgen
#include <../general/ngpython.hpp> #include <../general/ngpython.hpp>
namespace bp = boost::python; namespace bp = boost::python;
void ExportMeshVis() DLL_HEADER void ExportMeshVis()
{ {
using namespace netgen; using namespace netgen;
ModuleScope myscope("meshvis"); ModuleScope myscope("meshvis");

View File

@ -13,7 +13,9 @@
#ifndef TOGL_H #ifndef TOGL_H
# define TOGL_H # define TOGL_H
#if !defined TOGL_X11 && !defined TOGL_WGL && !defined TOGL_AGL_CLASSIC && !defined TOGL_AGL
# include "togl_ws.h" # include "togl_ws.h"
#endif
# ifdef TOGL_WGL # ifdef TOGL_WGL
# define WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN

View File

@ -13,7 +13,9 @@
#ifndef TOGL_H #ifndef TOGL_H
# define TOGL_H # define TOGL_H
#if !defined TOGL_X11 && !defined TOGL_WGL && !defined TOGL_AGL_CLASSIC && !defined TOGL_AGL
# include "togl_ws.h" # include "togl_ws.h"
#endif
# ifdef TOGL_WGL # ifdef TOGL_WGL
# define WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN