To bind a template, you must bind a specific instantiation of it. I'm binding the instantiations defined by the typedefs in Vector.h (though I have to specify them manually in SWIG).

The uint8 etc. typedefs aren't working for now though.
This commit is contained in:
Matt Williams
2009-03-29 15:36:41 +00:00
parent 25898425f5
commit 69751dc084
2 changed files with 12 additions and 4 deletions

View File

@ -7,5 +7,5 @@
%include "Enums.i"
%include "PolyVoxCStdInt.i"
%include "Utility.i"
%include "PolyVoxForwardDeclarations.i"
//%include "Vector.i"
//%include "PolyVoxForwardDeclarations.i" //Shouldn't be needed
%include "Vector.i"