Turn off %extend nested test for cplusplusout languages
This commit is contained in:
parent
f6cae1af1b
commit
caaf224b59
1 changed files with 2 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue