sas Thu Feb 27 05:07:46 2003 EDT
Modified files: (Branch: PHP_4)
/php4/main php_streams.h
Log:
MFH
Index: php4/main/php_streams.h
diff -u php4/main/php_streams.h:1.61.2.6 php4/main/php_streams.h:1.61.2.6.2.1
--- php4/main/php_streams.h:1.61.2.6 Thu Jan 2 08:31:30 2003
+++ php4/main/php_streams.h Thu Feb 27 05:07:46 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_streams.h,v 1.61.2.6 2003/01/02 13:31:30 derick Exp $ */
+/* $Id: php_streams.h,v 1.61.2.6.2.1 2003/02/27 10:07:46 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 */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php