php: Make typemap formatting more consistent
This commit is contained in:
parent
2da0127f5f
commit
3912c572ff
1 changed files with 21 additions and 21 deletions
|
|
@ -128,7 +128,7 @@
|
||||||
|
|
||||||
%typemap(in) SWIGTYPE *DISOWN
|
%typemap(in) SWIGTYPE *DISOWN
|
||||||
%{
|
%{
|
||||||
if (SWIG_ConvertPtr(&$input, (void **) &$1, $1_descriptor, SWIG_POINTER_DISOWN ) < 0) {
|
if (SWIG_ConvertPtr(&$input, (void **) &$1, $1_descriptor, SWIG_POINTER_DISOWN) < 0) {
|
||||||
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