diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/gras/CMakeLists.txt | 1 | ||||
-rw-r--r-- | include/gras/block.i | 15 | ||||
-rw-r--r-- | include/gras/element.i | 2 | ||||
-rw-r--r-- | include/gras/io_signature.hpp | 4 | ||||
-rw-r--r-- | include/gras/tags.i | 1 |
5 files changed, 21 insertions, 2 deletions
diff --git a/include/gras/CMakeLists.txt b/include/gras/CMakeLists.txt index 8a7ad70..a27ad37 100644 --- a/include/gras/CMakeLists.txt +++ b/include/gras/CMakeLists.txt @@ -4,6 +4,7 @@ install(FILES block.hpp + block.i element.hpp element.i gras.hpp diff --git a/include/gras/block.i b/include/gras/block.i new file mode 100644 index 0000000..e63ffdc --- /dev/null +++ b/include/gras/block.i @@ -0,0 +1,15 @@ +// Copyright (C) by Josh Blum. See LICENSE.txt for licensing information. + +#ifndef INCLUDED_GRAS_BLOCK_I +#define INCLUDED_GRAS_BLOCK_I + +%{ +#include <gras/block.hpp> +%} + +%include <gras/element.i> +%include <gras/tags.i> +%include <gras/sbuffer.hpp> +%include <gras/block.hpp> + +#endif /*INCLUDED_GRAS_BLOCK_I*/ diff --git a/include/gras/element.i b/include/gras/element.i index 72d9f25..d0067a3 100644 --- a/include/gras/element.i +++ b/include/gras/element.i @@ -16,6 +16,8 @@ // Export swig element comprehension //////////////////////////////////////////////////////////////////////// %include <std_string.i> +%include <gras/gras.hpp> +%include <gras/io_signature.i> %include <gras/element.hpp> //////////////////////////////////////////////////////////////////////// diff --git a/include/gras/io_signature.hpp b/include/gras/io_signature.hpp index cdc4f62..a637c2c 100644 --- a/include/gras/io_signature.hpp +++ b/include/gras/io_signature.hpp @@ -54,8 +54,8 @@ struct IOSignature : std::vector<size_t> this->set_max_streams(IO_INFINITE); } - //! Construct from posize_ter for backwards compatible shared_ptr usage. - IOSignature(const IOSignature *sig) + //! Construct from pointer for backwards compatible shared_ptr usage. + explicit IOSignature(const IOSignature *sig) { *this = *sig; } diff --git a/include/gras/tags.i b/include/gras/tags.i index 1df9cd2..ae85bea 100644 --- a/include/gras/tags.i +++ b/include/gras/tags.i @@ -7,6 +7,7 @@ #include <gras/tags.hpp> %} +%include <gras/gras.hpp> %include <gras/tags.hpp> %include <PMC/PMC.i> |