PHP directors - generate call_user_function on one line
This commit is contained in:
parent
12708c9241
commit
c4d40c7b64
1 changed files with 2 additions and 2 deletions
|
|
@ -2606,8 +2606,8 @@ done:
|
||||||
/* wrap complex arguments to zvals */
|
/* wrap complex arguments to zvals */
|
||||||
Printv(w->code, wrap_args, NIL);
|
Printv(w->code, wrap_args, NIL);
|
||||||
|
|
||||||
Append(w->code, "call_user_function(EG(function_table), (zval**)&swig_self, &funcname,\n");
|
Append(w->code, "call_user_function(EG(function_table), (zval**)&swig_self, &funcname,");
|
||||||
Printf(w->code, " %s, %d, args TSRMLS_CC);\n", Swig_cresult_name(), idx);
|
Printf(w->code, " %s, %d, args TSRMLS_CC);\n", Swig_cresult_name(), idx);
|
||||||
|
|
||||||
if (tm) {
|
if (tm) {
|
||||||
Printv(w->code, Str(tm), "\n", NIL);
|
Printv(w->code, Str(tm), "\n", NIL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue