]> granicus.if.org Git - php/commitdiff
Remove get_class_entry handlers in COM
authorNikita Popov <nikic@php.net>
Thu, 9 Oct 2014 12:42:56 +0000 (14:42 +0200)
committerNikita Popov <nikic@php.net>
Thu, 9 Oct 2014 12:42:56 +0000 (14:42 +0200)
ext/com_dotnet/com_handlers.c
ext/com_dotnet/com_saproxy.c

index 74a3920e34fa5992c38bfa0e25f951224ad61f42..607b2e08f365f79edb0638212bfb80d96a1dbffd 100644 (file)
@@ -423,13 +423,6 @@ static union _zend_function *com_constructor_get(zend_object *object TSRMLS_DC)
        }
 }
 
-static zend_class_entry *com_class_entry_get(const zend_object *object TSRMLS_DC)
-{
-       php_com_dotnet_object *obj = (php_com_dotnet_object *)object;
-
-       return obj->ce;
-}
-
 static zend_string* com_class_name_get(const zend_object *object, int parent TSRMLS_DC)
 {
        php_com_dotnet_object *obj = (php_com_dotnet_object *)object;
@@ -564,7 +557,6 @@ zend_object_handlers php_com_object_handlers = {
        com_method_get,
        com_call_method,
        com_constructor_get,
-       com_class_entry_get,
        com_class_name_get,
        com_objects_compare,
        com_object_cast,
index 881ebfbaeacb6970784e9ebbcc3bf8ec625c92bc..e4d3ebb7df30f9e025397f355194b41aec97daaa 100644 (file)
@@ -333,11 +333,6 @@ static union _zend_function *saproxy_constructor_get(zend_object *object TSRMLS_
        return NULL;
 }
 
-static zend_class_entry *saproxy_class_entry_get(const zend_object *object TSRMLS_DC)
-{
-       return php_com_saproxy_class_entry;
-}
-
 static zend_string* saproxy_class_name_get(const zend_object *object, int parent TSRMLS_DC)
 {
        return zend_string_copy(php_com_saproxy_class_entry->name);
@@ -420,7 +415,6 @@ zend_object_handlers php_com_saproxy_handlers = {
        saproxy_method_get,
        saproxy_call_method,
        saproxy_constructor_get,
-       saproxy_class_entry_get,
        saproxy_class_name_get,
        saproxy_objects_compare,
        saproxy_object_cast,