com php-src: Remove get_class_entry handlers in COM : ext/com_dotnet/com_handlers.c ext/com_dotnet/co m_saproxy.c
| From: | Nikita Popov | Date: | Thu, 09 Oct 2014 12:42:56 +0000 |
| Subject: | com php-src: Remove get_class_entry handlers in COM : ext/com_dotnet/com_handlers.c ext/com_dotnet/co m_saproxy.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82214@lists.php.net to get a copy of this message | ||
Commit: 9903f16e5c3c3a29c4a0ec17a8b86940887f4665
Author: Nikita Popov <nikic@php.net> Thu, 9 Oct 2014 14:42:56 +0200
Parents: e5e9d8346f50d406f4e8ed8431b7c917663a32c3
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9903f16e5c3c3a29c4a0ec17a8b86940887f4665
Log:
Remove get_class_entry handlers in COM
Changed paths:
M ext/com_dotnet/com_handlers.c
M ext/com_dotnet/com_saproxy.c
Diff:
diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c
index 74a3920..607b2e0 100644
--- a/ext/com_dotnet/com_handlers.c
+++ b/ext/com_dotnet/com_handlers.c
@@ -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,
diff --git a/ext/com_dotnet/com_saproxy.c b/ext/com_dotnet/com_saproxy.c
index 881ebfb..e4d3ebb 100644
--- a/ext/com_dotnet/com_saproxy.c
+++ b/ext/com_dotnet/com_saproxy.c
@@ -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,