summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2014-05-12 19:07:55 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2014-05-12 19:07:55 +0100
commitcaaf224b5960202034884a1a00a9c3d2c3881c08 (patch)
treea79970ef91b77c29c7c3088d543c8db0f0466b8a
parentf6cae1af1b2ec9946bc64e4730465f5a5e8f2e18 (diff)
downloadswig-caaf224b5960202034884a1a00a9c3d2c3881c08.tar.gz
Turn off %extend nested test for cplusplusout languages
-rw-r--r--Examples/test-suite/nested_extend_c.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/Examples/test-suite/nested_extend_c.i b/Examples/test-suite/nested_extend_c.i
index 3641cf78f..83d8c0601 100644
--- a/Examples/test-suite/nested_extend_c.i
+++ b/Examples/test-suite/nested_extend_c.i
@@ -1,5 +1,6 @@
%module nested_extend_c
+#if !defined(SWIGOCTAVE) && !defined(SWIG_JAVASCRIPT_V8)
%extend hiA {
hiA() {
union hiA *self = (union hiA *)malloc(sizeof(union hiA));
@@ -43,6 +44,7 @@
return $self->num;
}
}
+#endif
%inline %{
typedef struct NestedA {