rrichards Sat Nov 20 06:40:49 2004 EDT Modified files: /php-src/ext/com_dotnet com_handlers.c Log: fix crash when calling com methods - due to change in Zend http://cvs.php.net/diff.php/php-src/ext/com_dotnet/com_handlers.c?r1=1.26&r2=1.27&ty=u Index: php-src/ext/com_dotnet/com_handlers.c diff -u php-src/ext/com_dotnet/com_handlers.c:1.26 php-src/ext/com_dotnet/com_handlers.c:1.27 --- php-src/ext/com_dotnet/com_handlers.c:1.26 Thu Jul 29 10:06:24 2004 +++ php-src/ext/com_dotnet/com_handlers.c Sat Nov 20 06:40:49 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: com_handlers.c,v 1.26 2004/07/29 14:06:24 wez Exp $ */ +/* $Id: com_handlers.c,v 1.27 2004/11/20 11:40:49 rrichards Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -293,12 +293,13 @@ INTERNAL_FUNCTION_PARAM_PASSTHRU); } -static union _zend_function *com_method_get(zval *object, char *name, int len TSRMLS_DC) +static union _zend_function *com_method_get(zval **object_ptr, char *name, int len TSRMLS_DC) { zend_internal_function f, *fptr = NULL; php_com_dotnet_object *obj; union _zend_function *func; DISPID dummy; + zval *object = *object_ptr; obj = CDNO_FETCH(object);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php