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:
parent
8be8b62d83
commit
227192f80a
3 changed files with 28 additions and 10 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue