php: Wrap classes using only swig_object_wrapper
We no longer use PHP resources to wrap classes, and the proxy classes no longer has a _cPtr property.
This commit is contained in:
parent
0267ee374b
commit
40da8bcbb6
6 changed files with 83 additions and 203 deletions
|
|
@ -9,6 +9,10 @@ check::classes(array('import_nomodule','Bar'));
|
|||
// now new vars
|
||||
check::globals(array());
|
||||
|
||||
// SWIGPHP doesn't currently support the "violation of the type system" which
|
||||
// is tested by this testcase.
|
||||
exit(0);
|
||||
|
||||
$f = import_nomodule::create_Foo();
|
||||
import_nomodule::test1($f,42);
|
||||
import_nomodule::delete_Foo($f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue