diff options
Diffstat (limited to 'python/gras')
-rw-r--r-- | python/gras/GRAS_Block.i | 2 | ||||
-rw-r--r-- | python/gras/GRAS_SBuffer.i | 8 |
2 files changed, 2 insertions, 8 deletions
diff --git a/python/gras/GRAS_Block.i b/python/gras/GRAS_Block.i index 0becfd0..14809a9 100644 --- a/python/gras/GRAS_Block.i +++ b/python/gras/GRAS_Block.i @@ -16,7 +16,7 @@ //////////////////////////////////////////////////////////////////////// // http://www.swig.org/Doc2.0/Library.html#Library_stl_exceptions //////////////////////////////////////////////////////////////////////// -%include "exception.i" +%include <exception.i> %exception { diff --git a/python/gras/GRAS_SBuffer.i b/python/gras/GRAS_SBuffer.i index 8b57863..74cc475 100644 --- a/python/gras/GRAS_SBuffer.i +++ b/python/gras/GRAS_SBuffer.i @@ -2,18 +2,12 @@ %include <gras/sbuffer.i> -%{ -#include <PMC/PMC.hpp> -%} - -%import <PMC/PMC.i> +%include <PMC/Registry.i> DECL_PMC_SWIG_TYPE(gras::SBuffer, swig_sbuffer) %pythoncode %{ -from PMC import * - def pmc_to_sbuffer(p): s = pmc_to_swig_sbuffer(p) setattr(s, 'readonly', not isinstance(p, PMC)) |