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
|
|
@ -24,7 +24,7 @@ check::equal(5,intp_value($tr),"5==$tr");
|
|||
# Check the voidhandle call, first with null
|
||||
$handle=NULL;
|
||||
voidhandle($handle);
|
||||
check::resource($handle,"_p_void",'$handle is not _p_void');
|
||||
check::equal(get_class($handle),"SWIG\\_p_void",'$handle is not _p_void');
|
||||
$handledata=handle($handle);
|
||||
check::equal($handledata,"Here it is","\$handledata != \"Here it is\"");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue