/trunk/Examples/test-suite/prefix.i
Swig | 14 lines | 11 code | 3 blank | 0 comment | 0 complexity | b388dd89be1d52d5bc12792e0c1585b8 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- // Test that was failing for PHP - the value of the -prefix option was
- // ignored
- %module prefix
- %inline %{
- class Foo {
- public:
- Foo *get_self() {
- return this;
- }
- };
- %}