Merge branch 'wkalinin-csymbols-1'

* wkalinin-csymbols-1:
  obscure case workaround in std::set wrapper, where ignored type still need to be processed
  global unnamed structures ignored
  test added for nested unnamed C struct %extend
  %extend for nested unnamed C structs
This commit is contained in:
William S Fulton 2014-05-20 18:10:41 +01:00
commit 9e4bce051d
5 changed files with 39 additions and 11 deletions

View file

@ -44,6 +44,13 @@
return $self->num;
}
}
%extend FOO_bar {
void bar_extend() {
$self->d = 1;
}
};
#endif
%inline %{
@ -72,5 +79,17 @@ typedef struct {
int num;
} lowB_instance;
} NestedB;
typedef struct {
int a;
union {
char c;
int d;
} bar;
} FOO;
struct {
int i;
} THING;
%}