Use PHP objects instead of resources to wrap pointers
Pointer to member is currently still wrapped as a resource.
This commit is contained in:
parent
f1aaeeea1c
commit
c705ef8f32
9 changed files with 107 additions and 118 deletions
|
|
@ -5,7 +5,7 @@ require "grouping.php";
|
|||
|
||||
check::functions(array("test1","test2","do_unary","negate"));
|
||||
check::equal(5,test1(5),"5==test1(5)");
|
||||
check::resource(test2(7),"_p_int","_p_int==test2(7)");
|
||||
check::equal(get_class(test2(7)),"SWIG\\_p_int","test2(7) is _p_int");
|
||||
check::globals(array('test3'));
|
||||
|
||||
//check::equal(37,test3_get(),'37==test3_get()');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue