summaryrefslogtreecommitdiff
path: root/python/gras
diff options
context:
space:
mode:
authorJosh Blum2012-11-09 23:42:56 -0800
committerJosh Blum2012-11-09 23:42:56 -0800
commita4febef1af478a57ce0de7784f25212ea97875a8 (patch)
treee2a8176343f4d87a2f230a94933a7b5026dfae3a /python/gras
parentf27f557ee5b567bc934a4d8cab3bc112c5898204 (diff)
downloadsandhi-a4febef1af478a57ce0de7784f25212ea97875a8.tar.gz
sandhi-a4febef1af478a57ce0de7784f25212ea97875a8.tar.bz2
sandhi-a4febef1af478a57ce0de7784f25212ea97875a8.zip
python tags source/sink looper
Diffstat (limited to 'python/gras')
-rw-r--r--python/gras/GRAS_Block.i10
1 files changed, 5 insertions, 5 deletions
diff --git a/python/gras/GRAS_Block.i b/python/gras/GRAS_Block.i
index dc0e205..f7db3d2 100644
--- a/python/gras/GRAS_Block.i
+++ b/python/gras/GRAS_Block.i
@@ -42,11 +42,6 @@
}
}
-%{
-#include <gras/block.hpp>
-#include <iostream>
-%}
-
////////////////////////////////////////////////////////////////////////
// Simple class to deal with smart locking/unlocking of python GIL
////////////////////////////////////////////////////////////////////////
@@ -79,6 +74,11 @@ struct PyGILPhondler
////////////////////////////////////////////////////////////////////////
// Pull in the implementation goodies
////////////////////////////////////////////////////////////////////////
+%{
+#include <gras/block.hpp>
+#include <iostream>
+%}
+
%include <gras/gras.hpp>
%include <gras/element.i>
%include <gras/io_signature.i>