felipe Thu, 03 Jun 2010 18:39:21 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=300169
Log:
- Fix proto and argname
Changed paths:
U php/php-src/branches/PHP_5_3/ext/zip/php_zip.c
U php/php-src/trunk/ext/zip/php_zip.c
Modified: php/php-src/branches/PHP_5_3/ext/zip/php_zip.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/zip/php_zip.c 2010-06-03 18:23:14 UTC
(rev 300168)
+++ php/php-src/branches/PHP_5_3/ext/zip/php_zip.c 2010-06-03 18:39:21 UTC
(rev 300169)
@@ -2306,7 +2306,7 @@
}
/* }}} */
-/* {{{ proto bool ZipArchive::unchangeAll()
+/* {{{ proto bool ZipArchive::unchangeArchive()
Revert all global changes to the archive archive. For now, this only reverts
archive comment changes. */
static ZIPARCHIVE_METHOD(unchangeArchive)
{
@@ -2492,7 +2492,7 @@
}
/* }}} */
-/* {{{ proto string ZipArchive::getFromIndex(string entryname[, int len [, int
flags]])
+/* {{{ proto string ZipArchive::getFromIndex(int index[, int len [, int
flags]])
get the contents of an entry using its index */
static ZIPARCHIVE_METHOD(getFromIndex)
{
@@ -2631,7 +2631,7 @@
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_ziparchive_getfromindex, 0, 0, 1)
- ZEND_ARG_INFO(0, entryname)
+ ZEND_ARG_INFO(0, index)
ZEND_ARG_INFO(0, len)
ZEND_ARG_INFO(0, flags)
ZEND_END_ARG_INFO()
Modified: php/php-src/trunk/ext/zip/php_zip.c
===================================================================
--- php/php-src/trunk/ext/zip/php_zip.c 2010-06-03 18:23:14 UTC (rev 300168)
+++ php/php-src/trunk/ext/zip/php_zip.c 2010-06-03 18:39:21 UTC (rev 300169)
@@ -2319,7 +2319,7 @@
}
/* }}} */
-/* {{{ proto bool ZipArchive::unchangeAll()
+/* {{{ proto bool ZipArchive::unchangeArchive()
Revert all global changes to the archive archive. For now, this only reverts
archive comment changes. */
static ZIPARCHIVE_METHOD(unchangeArchive)
{
@@ -2505,7 +2505,7 @@
}
/* }}} */
-/* {{{ proto string ZipArchive::getFromIndex(string entryname[, int len [, int
flags]])
+/* {{{ proto string ZipArchive::getFromIndex(int index[, int len [, int
flags]])
get the contents of an entry using its index */
static ZIPARCHIVE_METHOD(getFromIndex)
{
@@ -2644,7 +2644,7 @@
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_ziparchive_getfromindex, 0, 0, 1)
- ZEND_ARG_INFO(0, entryname)
+ ZEND_ARG_INFO(0, index)
ZEND_ARG_INFO(0, len)
ZEND_ARG_INFO(0, flags)
ZEND_END_ARG_INFO()
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php