Inform SWIG of the meaning of the POLYVOX_DEPRECATED command in Linux
If the bindings fail to build on Windows, we might need to add an equivalent there too.
This commit is contained in:
parent
221036cbd1
commit
5c88f2e49f
@ -1,6 +1,7 @@
|
|||||||
%module PolyVoxCore
|
%module PolyVoxCore
|
||||||
|
|
||||||
#define POLYVOX_API
|
#define POLYVOX_API
|
||||||
|
#define __attribute__(x) //Silence DEPRECATED errors
|
||||||
|
|
||||||
//This macro allows us to use Python properties on our classes
|
//This macro allows us to use Python properties on our classes
|
||||||
%define PROPERTY(type,name,getter,setter)
|
%define PROPERTY(type,name,getter,setter)
|
||||||
@ -42,4 +43,5 @@ const char* __str__() {
|
|||||||
%include "MarchingCubesSurfaceExtractor.i"
|
%include "MarchingCubesSurfaceExtractor.i"
|
||||||
//%include "CubicSurfaceExtractor.i"
|
//%include "CubicSurfaceExtractor.i"
|
||||||
//%include "CubicSurfaceExtractorWithNormals.i"
|
//%include "CubicSurfaceExtractorWithNormals.i"
|
||||||
//%include "MeshDecimator.i"
|
//%include "MeshDecimator.i"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user