summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_handlers.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-08-22 14:01:14 +0300
committerDmitry Stogov <dmitry@zend.com>2018-08-22 14:01:14 +0300
commit93f9ee7217c55c23b10a5ae01df677502ac51773 (patch)
tree5c37f992ab43f79126d78b193fea19decb631820 /ext/com_dotnet/com_handlers.c
parent6c4528e44463faf63c57d2674cde8d3f698c4a2e (diff)
downloadphp-git-93f9ee7217c55c23b10a5ae01df677502ac51773.tar.gz
Use zend_class_entry/zend_function type names instead of _zend_class_entry/_zend_function tags.
Diffstat (limited to 'ext/com_dotnet/com_handlers.c')
-rw-r--r--ext/com_dotnet/com_handlers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c
index 8a94d00d6b..8424c3acfc 100644
--- a/ext/com_dotnet/com_handlers.c
+++ b/ext/com_dotnet/com_handlers.c
@@ -253,10 +253,10 @@ static PHP_FUNCTION(com_method_handler)
INTERNAL_FUNCTION_PARAM_PASSTHRU);
}
-static union _zend_function *com_method_get(zend_object **object_ptr, zend_string *name, const zval *key)
+static zend_function *com_method_get(zend_object **object_ptr, zend_string *name, const zval *key)
{
zend_internal_function f, *fptr = NULL;
- union _zend_function *func;
+ zend_function *func;
DISPID dummy;
php_com_dotnet_object *obj = (php_com_dotnet_object*)*object_ptr;
@@ -388,7 +388,7 @@ static int com_call_method(zend_string *method, zend_object *object, INTERNAL_FU
return ret;
}
-static union _zend_function *com_constructor_get(zend_object *object)
+static zend_function *com_constructor_get(zend_object *object)
{
php_com_dotnet_object *obj = (php_com_dotnet_object *) object;
static zend_internal_function c, d, v;
@@ -401,7 +401,7 @@ static union _zend_function *com_constructor_get(zend_object *object)
f.num_args = 0; \
f.fn_flags = 0; \
f.handler = ZEND_FN(fn); \
- return (union _zend_function*)&f;
+ return (zend_function*)&f;
switch (obj->ce->name->val[0]) {
#if HAVE_MSCOREE_H