cvs: php4(PHP_4_3) /main php_streams.h

From: Date: Thu, 27 Feb 2003 10:07:59 +0000
Subject: cvs: php4(PHP_4_3) /main php_streams.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-19229@lists.php.net to get a copy of this message
sas Thu Feb 27 05:07:59 2003 EDT Modified files: (Branch: PHP_4_3) /php4/main php_streams.h Log: MFH Index: php4/main/php_streams.h diff -u php4/main/php_streams.h:1.61.2.7 php4/main/php_streams.h:1.61.2.8 --- php4/main/php_streams.h:1.61.2.7 Fri Feb 21 21:43:58 2003 +++ php4/main/php_streams.h Thu Feb 27 05:07:59 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_streams.h,v 1.61.2.7 2003/02/22 02:43:58 wez Exp $ */ +/* $Id: php_streams.h,v 1.61.2.8 2003/02/27 10:07:59 sas Exp $ */ #ifndef PHP_STREAMS_H #define PHP_STREAMS_H @@ -318,8 +318,8 @@ # define php_stream_to_zval(stream, zval) { ZVAL_RESOURCE(zval, (stream)->rsrc_id); } #endif -#define php_stream_from_zval(str, ppzval) ZEND_FETCH_RESOURCE2((str), php_stream *, (ppzval), -1, "stream", php_file_le_stream(), php_file_le_pstream()) -#define php_stream_from_zval_no_verify(str, ppzval) (str) = (php_stream*)zend_fetch_resource((ppzval) TSRMLS_CC, -1, "stream", NULL, 2, php_file_le_stream(), php_file_le_pstream()) +#define php_stream_from_zval(xstr, ppzval) ZEND_FETCH_RESOURCE2((xstr), php_stream *, (ppzval), -1, "stream", php_file_le_stream(), php_file_le_pstream()) +#define php_stream_from_zval_no_verify(xstr, ppzval) (xstr) = (php_stream*)zend_fetch_resource((ppzval) TSRMLS_CC, -1, "stream", NULL, 2, php_file_le_stream(), php_file_le_pstream()) PHPAPI int php_stream_from_persistent_id(const char *persistent_id, php_stream **stream TSRMLS_DC); #define PHP_STREAM_PERSISTENT_SUCCESS 0 /* id exists */

« previous php.cvs (#19229) next »