[php] Fix misleadingly indented void* in typemap
This commit is contained in:
parent
76c2c4675b
commit
c882f39e3c
1 changed files with 7 additions and 6 deletions
|
|
@ -148,7 +148,8 @@
|
||||||
%{
|
%{
|
||||||
if (SWIG_ConvertPtr(&$input, (void **) &$1, 0, 0) < 0) {
|
if (SWIG_ConvertPtr(&$input, (void **) &$1, 0, 0) < 0) {
|
||||||
/* Allow NULL from php for void* */
|
/* Allow NULL from php for void* */
|
||||||
if (Z_ISNULL($input)) $1=0;
|
if (Z_ISNULL($input))
|
||||||
|
$1=0;
|
||||||
else
|
else
|
||||||
SWIG_PHP_Error(E_ERROR, "Type error in argument $argnum of $symname. Expected $1_descriptor");
|
SWIG_PHP_Error(E_ERROR, "Type error in argument $argnum of $symname. Expected $1_descriptor");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue