PageRenderTime 16ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/typedef_array_member.i

#
Swig | 25 lines | 17 code | 8 blank | 0 comment | 0 complexity | 831a6336a4cdcae27cc5fa4035f26173 MD5 | raw file
 1%module typedef_array_member
 2%inline %{
 3
 4typedef char amember[20];
 5
 6struct Foo {
 7   amember x;
 8};
 9
10%}
11
12
13%ignore jbuf_tag;
14%inline %{
15
16  typedef struct jbuf_tag
17  {
18    int mask;
19  } jbuf[1];
20  
21  struct Ast_channel {
22    jbuf jmp[32];
23  };
24
25%}