Silence all the SWIG warning hopefully

This commit is contained in:
Matt Williams 2012-11-17 13:44:27 +00:00
parent 0566645c9e
commit 27f943adb3
3 changed files with 9 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#include "Material.h" #include "Material.h"
%} %}
%include "DefaultIsQuadNeeded.h"
%include "Material.h" %include "Material.h"
%template(Material8) PolyVox::Material<uint8_t>; %template(Material8) PolyVox::Material<uint8_t>;

View File

@ -26,6 +26,9 @@ const char* __str__() {
%feature("autodoc", "1"); %feature("autodoc", "1");
//This will rename "operator=" to "assign" since Python doesn't have assignment
%rename(assign) *::operator=;
%include "stdint.i" %include "stdint.i"
%include "std_vector.i" %include "std_vector.i"
%include "Vector.i" %include "Vector.i"

View File

@ -4,4 +4,9 @@
#include "Region.h" #include "Region.h"
%} %}
%ignore depth;
%ignore height;
%ignore width;
%ignore dimensions;
%include "Region.h" %include "Region.h"