Work on SWIG bindings for PolyVox.

This commit is contained in:
David Williams 2010-12-28 09:52:17 +00:00
parent 89df1c8824
commit 57ff257669
7 changed files with 15 additions and 30 deletions

View File

@ -1,6 +0,0 @@
%module Enums
%{
#include "PolyVoxCore/Enums.h"
%}
%include "PolyVoxCore/Enums.h"

View File

@ -1,6 +0,0 @@
%module PolyVoxCStdInt
%{
#include "PolyVoxCore/PolyVoxCStdInt.h"
%}
%include "PolyVoxCore/PolyVoxCStdInt.h"

View File

@ -1,6 +0,0 @@
%module PolyVoxForwardDeclarations
%{
#include "PolyVoxCore/PolyVoxForwardDeclarations.h"
%}
%include "PolyVoxCore/PolyVoxForwardDeclarations.h"

View File

@ -0,0 +1,7 @@
%module Region
%{
#define SWIG_DAVID
#include "Region.h"
%}
%include "Region.h"

View File

@ -1,6 +0,0 @@
%module TypeDef
%{
#include "PolyVoxCore/TypeDef.h"
%}
%include "PolyVoxCore/TypeDef.h"

View File

@ -1,6 +0,0 @@
%module Utility
%{
#include "PolyVoxCore/Utility.h"
%}
%include "PolyVoxCore/Utility.h"

View File

@ -0,0 +1,8 @@
%module Volume
%{
#include "Volume.h"
%}
%include "Volume.h"
%template(VolumeUint16) PolyVox::Volume<unsigned int>;