mike Thu Nov 16 13:36:03 2006 UTC
Modified files:
/php-src/ext/zlib zlib.c
Log:
- fix protos
http://cvs.php.net/viewvc.cgi/php-src/ext/zlib/zlib.c?r1=1.211&r2=1.212&diff_format=u
Index: php-src/ext/zlib/zlib.c
diff -u php-src/ext/zlib/zlib.c:1.211 php-src/ext/zlib/zlib.c:1.212
--- php-src/ext/zlib/zlib.c:1.211 Tue Sep 19 10:38:31 2006
+++ php-src/ext/zlib/zlib.c Thu Nov 16 13:36:03 2006
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zlib.c,v 1.211 2006/09/19 10:38:31 dmitry Exp $ */
+/* $Id: zlib.c,v 1.212 2006/11/16 13:36:03 mike Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -553,39 +553,39 @@
RETURN_STRINGL(out_buf, out_len, 0); \
}
-/* {{{ proto string zlib_encode(string data, int encoding[, int level = -1]) U
+/* {{{ proto binary zlib_encode(binary data, int encoding[, int level = -1]) U
Compress data with the specified encoding */
PHP_ZLIB_ENCODE_FUNC(zlib_encode, 0);
/* }}} */
-/* {{{ proto string zlib_decode(string data[, int max_decoded_len]) U
+/* {{{ proto binary zlib_decode(binary data[, int max_decoded_len]) U
Uncompress any raw/gzip/zlib encoded data */
PHP_ZLIB_DECODE_FUNC(zlib_decode, PHP_ZLIB_ENCODING_ANY);
/* }}} */
/* NOTE: The naming of these userland functions was quite unlucky */
-/* {{{ proto string gzdeflate(string data[, int level = -1[, int encoding =
ZLIB_ENCODING_RAW]) U
+/* {{{ proto binary gzdeflate(binary data[, int level = -1[, int encoding =
ZLIB_ENCODING_RAW]) U
Encode data with the raw deflate encoding */
PHP_ZLIB_ENCODE_FUNC(gzdeflate, PHP_ZLIB_ENCODING_RAW);
/* }}} */
-/* {{{ proto string gzencode(string data[, int level = -1[, int encoding =
ZLIB_ENCODING_GZIP]) U
+/* {{{ proto binary gzencode(binary data[, int level = -1[, int encoding =
ZLIB_ENCODING_GZIP]) U
Encode data with the gzip encoding */
PHP_ZLIB_ENCODE_FUNC(gzencode, PHP_ZLIB_ENCODING_GZIP);
/* }}} */
-/* {{{ proto string gzcompress(string data[, int level = -1[, int encoding =
ZLIB_ENCODING_DEFLATE]) U
+/* {{{ proto binary gzcompress(binary data[, int level = -1[, int encoding =
ZLIB_ENCODING_DEFLATE]) U
Encode data with the zlib encoding */
PHP_ZLIB_ENCODE_FUNC(gzcompress, PHP_ZLIB_ENCODING_DEFLATE);
/* }}} */
-/* {{{ proto string gzinflate(string data[, int max_decoded_len]) U
+/* {{{ proto binary gzinflate(binary data[, int max_decoded_len]) U
Decode raw deflate encoded data */
PHP_ZLIB_DECODE_FUNC(gzinflate, PHP_ZLIB_ENCODING_RAW);
/* }}} */
-/* {{{ proto string gzdecode(string data[, int max_decoded_len]) U
+/* {{{ proto binary gzdecode(binary data[, int max_decoded_len]) U
Decode gzip encoded data */
PHP_ZLIB_DECODE_FUNC(gzdecode, PHP_ZLIB_ENCODING_GZIP);
/* }}} */
-/* {{{ proto string gzuncompress(string data[, int max_decoded_len]) U
+/* {{{ proto binary gzuncompress(binary data[, int max_decoded_len]) U
Decode zlib encoded data */
PHP_ZLIB_DECODE_FUNC(gzuncompress, PHP_ZLIB_ENCODING_DEFLATE);
/* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php