Mercurial > hg > libxtract
diff swig/python/xtract.i @ 88:525bfdf936c6
Added java bindings. Everything seems to work OK, except test.java won't compile. Some kind of path error, but I can't work out how to fix it.
author | Jamie Bullock <jamie@postlude.co.uk> |
---|---|
date | Wed, 05 Sep 2007 14:32:17 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/swig/python/xtract.i Wed Sep 05 14:32:17 2007 +0000 @@ -0,0 +1,12 @@ +%module xtract +%include carrays.i +%include typemaps.i + +%{ +#include "xtract/xtract_scalar.h" +%} + +%array_functions(float, floatArray); +%apply float *OUTPUT { float *result }; + +%include "xtract/xtract_scalar.h"