PageRenderTime 5ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

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

#
Swig | 20 lines | 18 code | 2 blank | 0 comment | 0 complexity | b151b6fcfdf79970b2f71c59386d93e7 MD5 | raw file
 1%module li_std_map_member
 2
 3%inline %{
 4int i;
 5class TestA {
 6public:
 7TestA() { i = 1; }
 8int i;
 9};
10%}
11%include std_pair.i
12%include std_map.i
13
14namespace std
15{
16%template(pairii) pair<int,int>;
17%template(mapii) map<int,int>;
18%template(pairita) pair<int,TestA>;
19%template(mapita) map<int,TestA>;
20}