summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJosh Blum2012-11-23 20:10:10 -0800
committerJosh Blum2012-11-23 20:10:10 -0800
commita61975949f3c6e7ddc26b802c56c639b52c46604 (patch)
tree371d5e4bd2e79aac56460b8aa9e7897dad68f996 /include
parentff2cdaee343e8c61d0b94eddf5dbbe2ad6dc46be (diff)
downloadsandhi-a61975949f3c6e7ddc26b802c56c639b52c46604.tar.gz
sandhi-a61975949f3c6e7ddc26b802c56c639b52c46604.tar.bz2
sandhi-a61975949f3c6e7ddc26b802c56c639b52c46604.zip
swig fixes for sbuffer and intrusive_ptr
Diffstat (limited to 'include')
-rw-r--r--include/gras/sbuffer.i6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/gras/sbuffer.i b/include/gras/sbuffer.i
index d8cadc6..fb1f40d 100644
--- a/include/gras/sbuffer.i
+++ b/include/gras/sbuffer.i
@@ -9,9 +9,11 @@
%}
////////////////////////////////////////////////////////////////////////
-// remove base class warning
+// comprehend base class
////////////////////////////////////////////////////////////////////////
-#pragma SWIG nowarn=401
+#define SWIG_INTRUSIVE_PTR_NAMESPACE boost
+%include <intrusive_ptr.i>
+%template (boost_intrusive_ptr_gras_sbuffer_impl) boost::intrusive_ptr<gras::SBufferImpl>;
////////////////////////////////////////////////////////////////////////
// Export swig element comprehension