Remove PHP-specific testcase workarounds

The changes on this branch mean these are no longer required.
This commit is contained in:
Olly Betts 2021-04-19 18:50:49 +12:00
commit 1bf23edc06
4 changed files with 3 additions and 19 deletions

View file

@ -11,13 +11,6 @@
%newobject *::create();
#ifdef SWIGPHP
// TODO: Currently we do not track the dynamic type of returned objects
// in PHP, so we need the factory helper.
%include factory.i
%factory(Foo *Bar::create, Bar);
#endif
%rename(a) Bar::hello;
%rename(s) Foo::p;
%rename(q) Foo::r;