diff swig/xtract.i @ 103:1cbbe5b5e461

- Added some previously uncommitted Pd testing examples - Improved python bindings. Now we can do vector features as well as scalar from Python
author Jamie Bullock <jamie@postlude.co.uk>
date Fri, 21 Dec 2007 11:05:20 +0000
parents 525bfdf936c6
children 3e648eec95cb
line wrap: on
line diff
--- a/swig/xtract.i	Tue Oct 16 09:37:06 2007 +0000
+++ b/swig/xtract.i	Fri Dec 21 11:05:20 2007 +0000
@@ -4,10 +4,19 @@
 
 %{
 #include "xtract/xtract_scalar.h"
+#include "xtract/xtract_vector.h"
+#include "xtract/libxtract.h"
 %}
 
 %array_class(float, floatArray); 
 %apply float *OUTPUT { float *result };
 /* %apply float *INPUT { float *data }; */
 
+%ignore xtract;
+
 %include "xtract/xtract_scalar.h"
+
+%clear float *result;
+
+%include "xtract/xtract_vector.h"
+%include "xtract/libxtract.h"