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:
Olly Betts 2012-05-10 10:37:42 +00:00
commit 70a134872a
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ check::equal(5,intp_value($tr),"5==$tr");
# Check the voidhandle call, first with null
unset($handle);
voidhandle(&$handle);
voidhandle($handle);
check::resource($handle,"_p_void",'$handle is not _p_void');
$handledata=handle($handle);
check::equal($handledata,"Here it is","\$handledata != \"Here it is\"");

View file

@ -11,7 +11,7 @@ $ufbb=new unaryfunction_bool_bool();
check::is_a($ufbb,"unaryfunction_bool_bool");
unset($whatisthis);
$bufb=new boolunaryfunction_bool(&$whatisthis);
$bufb=new boolunaryfunction_bool($whatisthis);
check::is_a($bufb,"boolunaryfunction_bool");
check::done();