PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
Swig | 14 lines | 11 code | 3 blank | 0 comment | 0 complexity | b388dd89be1d52d5bc12792e0c1585b8 MD5 | raw file
 1// Test that was failing for PHP - the value of the -prefix option was
 2// ignored
 3%module prefix
 4
 5%inline %{
 6
 7class Foo {
 8public:
 9  Foo *get_self() {
10    return this;
11  }
12};
13
14%}