cvs: ZendEngine2 / zend_list.h

From: Date: Wed, 11 Feb 2004 11:52:34 +0000
Subject: cvs: ZendEngine2 / zend_list.h
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-2350@lists.php.net to get a copy of this message
zeev Wed Feb 11 06:52:34 2004 EDT Modified files: /ZendEngine2 zend_list.h Log: Change FETCH_RESOURCE to return false on error instead of null, for consistency with other error situations http://cvs.php.net/diff.php/ZendEngine2/zend_list.h?r1=1.46&r2=1.47&ty=u Index: ZendEngine2/zend_list.h diff -u ZendEngine2/zend_list.h:1.46 ZendEngine2/zend_list.h:1.47 --- ZendEngine2/zend_list.h:1.46 Thu Jan 8 12:31:47 2004 +++ ZendEngine2/zend_list.h Wed Feb 11 06:52:33 2004 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_list.h,v 1.46 2004/01/08 17:31:47 sniper Exp $ */ +/* $Id: zend_list.h,v 1.47 2004/02/11 11:52:33 zeev Exp $ */ #ifndef ZEND_LIST_H #define ZEND_LIST_H @@ -89,7 +89,7 @@ #define ZEND_VERIFY_RESOURCE(rsrc) \ if (!rsrc) { \ - RETURN_NULL(); \ + RETURN_FALSE; \ } #define ZEND_FETCH_RESOURCE(rsrc, rsrc_type, passed_id, default_id, resource_type_name, resource_type) \

« previous php.zend-engine.cvs (#2350) next »