/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. %inline %{
  5. class Foo {
  6. public:
  7. Foo *get_self() {
  8. return this;
  9. }
  10. };
  11. %}