cvs: php4 /main php_streams.h
| From: | Marcus B�rger | Date: | Wed, 06 Nov 2002 00:17:47 +0000 |
| Subject: | cvs: php4 /main php_streams.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15840@lists.php.net to get a copy of this message | ||
helly Tue Nov 5 19:17:47 2002 EDT
Modified files:
/php4/main php_streams.h
Log:
Make the macro use the function and not the other macro as discussed
with Wez.
Index: php4/main/php_streams.h
diff -u php4/main/php_streams.h:1.60 php4/main/php_streams.h:1.61
--- php4/main/php_streams.h:1.60 Tue Nov 5 19:15:24 2002
+++ php4/main/php_streams.h Tue Nov 5 19:17:44 2002
@@ -388,7 +388,7 @@
PHPAPI int _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam
TSRMLS_DC);
#define php_stream_set_option(stream, option, value, ptrvalue) _php_stream_set_option((stream),
(option), (value), (ptrvalue) TSRMLS_CC)
-#define php_stream_set_chunk_size(stream, size) php_stream_set_option((stream),
PHP_STREAM_OPTION_SET_CHUNK_SIZE, (size), NULL)
+#define php_stream_set_chunk_size(stream, size) _php_stream_set_option((stream),
PHP_STREAM_OPTION_SET_CHUNK_SIZE, (size), NULL TSRMLS_CC)
/* change the blocking mode of stream: value == 1 => blocking, value == 0 => non-blocking. */
#define PHP_STREAM_OPTION_BLOCKING 1