[PHP] Fix "in" typemap for char INPUT[ANY]
This commit is contained in:
parent
50acc519f6
commit
c51ce4995c
2 changed files with 3 additions and 2 deletions
|
|
@ -6,7 +6,8 @@ Version 3.0.11 (in progress)
|
|||
============================
|
||||
|
||||
2016-09-02: olly
|
||||
[PHP] Fix out typemap for member function pointers.
|
||||
[PHP] Fix "out" typemap for member function pointers and "in"
|
||||
typemap for char INPUT[ANY].
|
||||
|
||||
2016-09-01: wsfulton
|
||||
[Python] More efficient Python slicing.
|
||||
|
|
|
|||
|
|
@ -271,7 +271,7 @@ INT_TYPEMAP(unsigned long long);
|
|||
%typemap(in) char INPUT[ANY] ( char temp[$1_dim0] )
|
||||
%{
|
||||
convert_to_string_ex($input);
|
||||
strncpy(temp,Z_LVAL_PP($input),$1_dim0);
|
||||
strncpy(temp,Z_STRVAL_PP($input),$1_dim0);
|
||||
$1 = temp;
|
||||
%}
|
||||
%typemap(in,numinputs=0) char OUTPUT[ANY] ( char temp[$1_dim0] )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue