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:
Matt Williams 2012-11-08 10:10:01 +00:00
parent 221036cbd1
commit 5c88f2e49f

View File

@ -1,6 +1,7 @@
%module PolyVoxCore
#define POLYVOX_API
#define __attribute__(x) //Silence DEPRECATED errors
//This macro allows us to use Python properties on our classes
%define PROPERTY(type,name,getter,setter)
@ -42,4 +43,5 @@ const char* __str__() {
%include "MarchingCubesSurfaceExtractor.i"
//%include "CubicSurfaceExtractor.i"
//%include "CubicSurfaceExtractorWithNormals.i"
//%include "MeshDecimator.i"
//%include "MeshDecimator.i"