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

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

#
Swig | 12 lines | 9 code | 3 blank | 0 comment | 0 complexity | 0872535b1d8c31a6f15d1a7425e8ede1 MD5 | raw file
 1%module inline_initializer
 2
 3%inline %{
 4class Foo {
 5   int x;
 6public:
 7   Foo(int a);
 8};
 9
10Foo::Foo(int a) : x(a) { }
11
12%}