diff swig/aim_modules.i @ 166:d4029d3124c4

- Better python support for signals
author tomwalters
date Wed, 04 Aug 2010 07:20:26 +0000
parents 7e1fe07d13dc
children 4fb328f81012
line wrap: on
line diff
--- a/swig/aim_modules.i	Wed Aug 04 06:41:56 2010 +0000
+++ b/swig/aim_modules.i	Wed Aug 04 07:20:26 2010 +0000
@@ -18,6 +18,12 @@
 %module aimc
 %include "std_string.i"
 %include stl.i
+%include "std_vector.i"
+
+namespace std {
+   %template(FloatVector) vector<float>;
+}
+
 %{
 #include "Support/Common.h"
 #include "Support/Module.h"
@@ -35,6 +41,7 @@
 %}
 
 %include "Support/Parameters.h"
+using namespace std;
 %include "Support/SignalBank.h"
 
 namespace aimc {