The attached patch fixes a couple of warnings in

php5/ext/com_dotnet/com_handlers.c

 by synchronizing with a recent change in the zend_object_handlers
 structure.

--
Sebastian Bergmann
http://sebastian-bergmann.de/                   http://phpOpenTracker.de/

Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/
Index: com_handlers.c
===================================================================
RCS file: /repository/php-src/ext/com_dotnet/com_handlers.c,v
retrieving revision 1.5
diff -u -r1.5 com_handlers.c
--- com_handlers.c      13 Oct 2003 01:29:39 -0000      1.5
+++ com_handlers.c      22 Nov 2003 11:23:30 -0000
@@ -240,6 +240,12 @@
        php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot delete properties from a 
COM object");
 }

+static int com_dimension_exists(zval *object, zval *member, int check_empty TSRMLS_DC)
+{
+       php_error_docref(NULL TSRMLS_CC, E_WARNING, "Operation not supported on a COM 
object");
+       return 0;
+}
+
 static void com_dimension_delete(zval *object, zval *offset TSRMLS_DC)
 {
        php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot delete properties from a 
COM object");
@@ -511,6 +517,7 @@
        com_object_set,
        com_property_exists,
        com_property_delete,
+       com_dimension_exists,
        com_dimension_delete,
        com_properties_get,
        com_method_get,
-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to