Use standard SWIG overload dispatch
Instead of having a slightly modified PHP-specific variant of Swig_overload_dispatch we now advance the ParmList over the this pointer.
This commit is contained in:
parent
7142acbf93
commit
3f1286ba4f
2 changed files with 14 additions and 178 deletions
|
|
@ -117,7 +117,7 @@
|
|||
if ($needNewFlow) {
|
||||
$1 = ($1_ltype) $obj_value;
|
||||
} else {
|
||||
if (SWIG_ConvertPtr(&$linput, (void **) &$1, $1_descriptor, 0) < 0)
|
||||
if (SWIG_ConvertPtr(&$input, (void **) &$1, $1_descriptor, 0) < 0)
|
||||
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