Remove two instances of call-time pass by reference, which has been removed in
PHP 5.4, and isn't needed for these tests anyway. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
dba3dc5148
commit
70a134872a
2 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ check::equal(5,intp_value($tr),"5==$tr");
|
||||||
|
|
||||||
# Check the voidhandle call, first with null
|
# Check the voidhandle call, first with null
|
||||||
unset($handle);
|
unset($handle);
|
||||||
voidhandle(&$handle);
|
voidhandle($handle);
|
||||||
check::resource($handle,"_p_void",'$handle is not _p_void');
|
check::resource($handle,"_p_void",'$handle is not _p_void');
|
||||||
$handledata=handle($handle);
|
$handledata=handle($handle);
|
||||||
check::equal($handledata,"Here it is","\$handledata != \"Here it is\"");
|
check::equal($handledata,"Here it is","\$handledata != \"Here it is\"");
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ $ufbb=new unaryfunction_bool_bool();
|
||||||
check::is_a($ufbb,"unaryfunction_bool_bool");
|
check::is_a($ufbb,"unaryfunction_bool_bool");
|
||||||
|
|
||||||
unset($whatisthis);
|
unset($whatisthis);
|
||||||
$bufb=new boolunaryfunction_bool(&$whatisthis);
|
$bufb=new boolunaryfunction_bool($whatisthis);
|
||||||
check::is_a($bufb,"boolunaryfunction_bool");
|
check::is_a($bufb,"boolunaryfunction_bool");
|
||||||
|
|
||||||
check::done();
|
check::done();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue