summaryrefslogtreecommitdiff
path: root/python/gras/GRAS_Block.i
diff options
context:
space:
mode:
Diffstat (limited to 'python/gras/GRAS_Block.i')
-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>