cvs: pecl /svn svn.c
| From: | Alan Knowles | Date: | Mon, 28 Jan 2008 07:43:49 +0000 |
| Subject: | cvs: pecl /svn svn.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-9611@lists.php.net to get a copy of this message | ||
alan_k Mon Jan 28 07:43:49 2008 UTC
Modified files:
/pecl/svn svn.c
Log:
flip argument order - make flags last argument - seems a bit more consistant
http://cvs.php.net/viewvc.cgi/pecl/svn/svn.c?r1=1.36&r2=1.37&diff_format=u
Index: pecl/svn/svn.c
diff -u pecl/svn/svn.c:1.36 pecl/svn/svn.c:1.37
--- pecl/svn/svn.c:1.36 Mon Jan 28 07:15:42 2008
+++ pecl/svn/svn.c Mon Jan 28 07:43:49 2008
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: svn.c,v 1.36 2008/01/28 07:15:42 alan_k Exp $ */
+/* $Id: svn.c,v 1.37 2008/01/28 07:43:49 alan_k Exp $ */
#define SVN_EXTENSION_VERSION "0.2.0"
@@ -898,7 +898,7 @@
return SVN_NO_ERROR;
}
-/* {{{ proto array svn_log(string repos_url[, int start_revision_no = SvnRevision::HEAD, [, int
end_revision = SvnRevision::INITIAL [, int flags [, int limit ]]]])
+/* {{{ proto array svn_log(string repos_url[, int start_revision_no = SvnRevision::HEAD, [, int
end_revision = SvnRevision::INITIAL [, int limit [, int flags ]]]])
Returns the commit log messages of repos_url */
PHP_FUNCTION(svn_log)
{
@@ -920,8 +920,8 @@
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|llll",
&repos_url, &repos_url_len,
- &start_rev, &end_rev , &flags,
- &limit) == FAILURE) {
+ &start_rev, &end_rev ,
+ &limit, &flags) == FAILURE) {
return;
}
init_svn_client(TSRMLS_C);