summaryrefslogtreecommitdiff
path: root/ext/com_dotnet
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-04-22 21:46:13 +0300
committerDmitry Stogov <dmitry@zend.com>2015-04-22 21:46:13 +0300
commit15a5f61cf4ac1961c20b61ba58e19c64a653064c (patch)
treecb4159c8130e12c3e9d4ef736ca49ad3464c215f /ext/com_dotnet
parentaf33279a6cf1e251a8454d567726df4bbe6be1e4 (diff)
downloadphp-git-15a5f61cf4ac1961c20b61ba58e19c64a653064c.tar.gz
Use fast method to check if first arguments should be passed by reference (not tested onbig endian).
Diffstat (limited to 'ext/com_dotnet')
-rw-r--r--ext/com_dotnet/com_handlers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c
index 66983d1b34..ec5c70defa 100644
--- a/ext/com_dotnet/com_handlers.c
+++ b/ext/com_dotnet/com_handlers.c
@@ -279,6 +279,7 @@ static union _zend_function *com_method_get(zend_object **object_ptr, zend_strin
f.fn_flags = ZEND_ACC_CALL_VIA_HANDLER;
f.function_name = zend_string_copy(name);
f.handler = PHP_FN(com_method_handler);
+ zend_set_function_arg_flags((zend_function*)&f);
fptr = &f;