cvs: php-src /ext/com_dotnet com_handlers.c

From: Date: Mon, 22 Mar 2004 22:48:21 +0000
Subject: cvs: php-src /ext/com_dotnet com_handlers.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-26741@lists.php.net to get a copy of this message
wez Mon Mar 22 17:48:21 2004 EDT Modified files: /php-src/ext/com_dotnet com_handlers.c Log: update for read handler api change http://cvs.php.net/diff.php/php-src/ext/com_dotnet/com_handlers.c?r1=1.17&r2=1.18&ty=u Index: php-src/ext/com_dotnet/com_handlers.c diff -u php-src/ext/com_dotnet/com_handlers.c:1.17 php-src/ext/com_dotnet/com_handlers.c:1.18 --- php-src/ext/com_dotnet/com_handlers.c:1.17 Thu Feb 12 07:11:21 2004 +++ php-src/ext/com_dotnet/com_handlers.c Mon Mar 22 17:47:05 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: com_handlers.c,v 1.17 2004/02/12 12:11:21 wez Exp $ */ +/* $Id: com_handlers.c,v 1.18 2004/03/22 22:47:05 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -29,7 +29,7 @@ #include "php_com_dotnet_internal.h" #include "Zend/zend_exceptions.h" -static zval *com_property_read(zval *object, zval *member, zend_bool silent TSRMLS_DC) +static zval *com_property_read(zval *object, zval *member, int type TSRMLS_DC) { zval *return_value; php_com_dotnet_object *obj; @@ -52,9 +52,7 @@ VariantClear(&v); } } else { - if (!silent) { - php_com_throw_exception(E_INVALIDARG, "this variant has no properties" TSRMLS_CC); - } + php_com_throw_exception(E_INVALIDARG, "this variant has no properties" TSRMLS_CC); } return return_value;

« previous php.cvs (#26741) next »