PageRenderTime 22ms CodeModel.GetById 15ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
Swig | 36 lines | 32 code | 4 blank | 0 comment | 0 complexity | c4121b93bdcc368ac5ec971be9c5001c MD5 | raw file
 1%module constructor_ignore
 2
 3%ignore Space::Delta1::Delta1();
 4%ignore Space::Delta2::Delta2(int i);
 5%ignore Space::Delta3::Delta3;
 6%ignore Space::Delta4::Delta4;
 7
 8%inline %{
 9namespace Space {
10  struct Delta1 {
11  };
12  struct Delta2 {
13    Delta2(int i) {}
14  };
15  struct Delta3 {
16    Delta3(const Delta3&) {}
17    Delta3() {}
18    Delta3(int i) {}
19  };
20  struct Delta4 {
21  };
22}
23%}
24
25%copyctor;
26%ignore Space::Delta5::Delta5;
27%ignore Space::Delta6::Delta6(const Space::Delta6&);
28
29%inline %{
30namespace Space {
31  struct Delta5 {
32  };
33  struct Delta6 {
34  };
35}
36%}