Fix Examples/php/pointer to work with PHP 5.5

With this, all examples work with PHP 5.5 for me.
This commit is contained in:
Miklos Vajna 2013-11-18 21:50:33 +01:00 committed by Olly Betts
commit 227192f80a
3 changed files with 28 additions and 10 deletions

View file

@ -1,5 +1,5 @@
%define %pass_by_ref( TYPE, CONVERT_IN, CONVERT_OUT )
%typemap(in) TYPE *REF ($*1_ltype tmp),
%typemap(in, byref=1) TYPE *REF ($*1_ltype tmp),
TYPE &REF ($*1_ltype tmp)
%{
/* First Check for SWIG wrapped type */