summaryrefslogtreecommitdiff
path: root/include/gras
diff options
context:
space:
mode:
Diffstat (limited to 'include/gras')
-rw-r--r--include/gras/CMakeLists.txt1
-rw-r--r--include/gras/block.i3
-rw-r--r--include/gras/element.i3
-rw-r--r--include/gras/hier_block.i4
-rw-r--r--include/gras/top_block.i19
5 files changed, 29 insertions, 1 deletions
diff --git a/include/gras/CMakeLists.txt b/include/gras/CMakeLists.txt
index 176d5e5..d432747 100644
--- a/include/gras/CMakeLists.txt
+++ b/include/gras/CMakeLists.txt
@@ -23,6 +23,7 @@ install(FILES
tag_iter.i
thread_pool.hpp
top_block.hpp
+ top_block.i
work_buffer.hpp
buffer_queue.hpp
weak_container.hpp
diff --git a/include/gras/block.i b/include/gras/block.i
index 6ac1d5c..7e06241 100644
--- a/include/gras/block.i
+++ b/include/gras/block.i
@@ -3,10 +3,13 @@
#ifndef INCLUDED_GRAS_BLOCK_I
#define INCLUDED_GRAS_BLOCK_I
+%module GRAS_Block
+
%{
#include <gras/block.hpp>
%}
+%include <gras/exception.i>
%import <gras/element.i>
%import <gras/tags.i>
%include <gras/tag_iter.i>
diff --git a/include/gras/element.i b/include/gras/element.i
index bcf07c2..c150e4b 100644
--- a/include/gras/element.i
+++ b/include/gras/element.i
@@ -3,6 +3,8 @@
#ifndef INCLUDED_GRAS_ELEMENT_I
#define INCLUDED_GRAS_ELEMENT_I
+%module GRAS_Element
+
%{
#include <gras/element.hpp>
%}
@@ -22,6 +24,7 @@ namespace gras
////////////////////////////////////////////////////////////////////////
%include <std_string.i>
%include <gras/gras.hpp>
+%include <gras/exception.i>
%include <gras/element.hpp>
////////////////////////////////////////////////////////////////////////
diff --git a/include/gras/hier_block.i b/include/gras/hier_block.i
index 376bbf4..4c9fc70 100644
--- a/include/gras/hier_block.i
+++ b/include/gras/hier_block.i
@@ -3,12 +3,14 @@
#ifndef INCLUDED_GRAS_HIER_BLOCK_I
#define INCLUDED_GRAS_HIER_BLOCK_I
+%module GRAS_HierBlock
+
%{
#include <gras/hier_block.hpp>
%}
+%include <gras/exception.i>
%import <gras/element.i>
-%include <gras/block_config.hpp>
%include <gras/hier_block.hpp>
#endif /*INCLUDED_GRAS_HIER_BLOCK_I*/
diff --git a/include/gras/top_block.i b/include/gras/top_block.i
new file mode 100644
index 0000000..040ed7c
--- /dev/null
+++ b/include/gras/top_block.i
@@ -0,0 +1,19 @@
+// Copyright (C) by Josh Blum. See LICENSE.txt for licensing information.
+
+#ifndef INCLUDED_GRAS_TOP_BLOCK_I
+#define INCLUDED_GRAS_TOP_BLOCK_I
+
+%module GRAS_TopBlock
+
+%{
+#include <gras/top_block.hpp>
+%}
+
+%include <gras/exception.i>
+%include <gras/gras.hpp>
+%include <gras/block_config.hpp>
+%import <gras/element.i>
+%import <gras/hier_block.i>
+%include <gras/top_block.hpp>
+
+#endif /*INCLUDED_GRAS_TOP_BLOCK_I*/