Turn off %extend nested test for cplusplusout languages

This commit is contained in:
William S Fulton 2014-05-12 19:07:55 +01:00
commit caaf224b59

View file

@ -1,5 +1,6 @@
%module nested_extend_c %module nested_extend_c
#if !defined(SWIGOCTAVE) && !defined(SWIG_JAVASCRIPT_V8)
%extend hiA { %extend hiA {
hiA() { hiA() {
union hiA *self = (union hiA *)malloc(sizeof(union hiA)); union hiA *self = (union hiA *)malloc(sizeof(union hiA));
@ -43,6 +44,7 @@
return $self->num; return $self->num;
} }
} }
#endif
%inline %{ %inline %{
typedef struct NestedA { typedef struct NestedA {