Mercurial > hg > libxtract
annotate 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 |
rev | line source |
---|---|
jamie@88 | 1 %module xtract |
jamie@88 | 2 %include carrays.i |
jamie@88 | 3 %include typemaps.i |
jamie@88 | 4 |
jamie@88 | 5 %{ |
jamie@88 | 6 #include "xtract/xtract_scalar.h" |
jamie@88 | 7 %} |
jamie@88 | 8 |
jamie@88 | 9 %array_functions(float, floatArray); |
jamie@88 | 10 %apply float *OUTPUT { float *result }; |
jamie@88 | 11 |
jamie@88 | 12 %include "xtract/xtract_scalar.h" |