cvs: php4 /ext/bz2 bz2.c
| From: | Sterling Hughes | Date: | Sun, 27 Jan 2002 17:24:32 +0000 |
| Subject: | cvs: php4 /ext/bz2 bz2.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9200@lists.php.net to get a copy of this message | ||
sterling Sun Jan 27 12:24:32 2002 EDT
Modified files:
/php4/ext/bz2 bz2.c
Log:
fix proto's for Herr. Holzraefe. int -> resource
Index: php4/ext/bz2/bz2.c
diff -u php4/ext/bz2/bz2.c:1.33 php4/ext/bz2/bz2.c:1.34
--- php4/ext/bz2/bz2.c:1.33 Sun Jan 27 00:47:11 2002
+++ php4/ext/bz2/bz2.c Sun Jan 27 12:24:31 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: bz2.c,v 1.33 2002/01/27 05:47:11 sterling Exp $ */
+/* $Id: bz2.c,v 1.34 2002/01/27 17:24:31 sterling Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -98,7 +98,7 @@
php_info_print_table_end();
}
-/* {{{ proto int bzopen(string|int file|fp, string mode)
+/* {{{ proto resource bzopen(string|int file|fp, string mode)
Opens a new BZip2 stream */
PHP_FUNCTION(bzopen)
{
@@ -141,7 +141,7 @@
}
/* }}} */
-/* {{{ proto string bzread(int bz [, int len])
+/* {{{ proto string bzread(resource bz [, int len])
Reads len bytes from the BZip2 stream given by bz */
PHP_FUNCTION(bzread)
{
@@ -174,7 +174,7 @@
}
/* }}} */
-/* {{{ proto int bzwrite(int bz, string data [, int len])
+/* {{{ proto int bzwrite(resource bz, string data [, int len])
Writes data to the BZip2 stream given by bz */
PHP_FUNCTION(bzwrite)
{
@@ -210,7 +210,7 @@
}
/* }}} */
-/* {{{ proto int bzflush(int bz)
+/* {{{ proto int bzflush(resource bz)
Flushes a BZip2 stream */
PHP_FUNCTION(bzflush)
{
@@ -229,7 +229,7 @@
}
/* }}} */
-/* {{{ proto int bzclose(int bz)
+/* {{{ proto int bzclose(resource bz)
Closes a BZip2 stream */
PHP_FUNCTION(bzclose)
{
@@ -245,7 +245,7 @@
}
/* }}} */
-/* {{{ proto int bzerrno(int bz)
+/* {{{ proto int bzerrno(resource bz)
Returns the error number */
PHP_FUNCTION(bzerrno)
{
@@ -253,7 +253,7 @@
}
/* }}} */
-/* {{{ proto string bzerrstr(int bz)
+/* {{{ proto string bzerrstr(resource bz)
Returns the error string */
PHP_FUNCTION(bzerrstr)
{
@@ -261,7 +261,7 @@
}
/* }}} */
-/* {{{ proto array bzerror(int bz)
+/* {{{ proto array bzerror(resource bz)
Returns the error number and error string in an associative array */
PHP_FUNCTION(bzerror)
{