summaryrefslogtreecommitdiff
path: root/ext/intl/dateformat/dateformat_parse.c
diff options
context:
space:
mode:
authorMax Semenik <maxsem.wiki@gmail.com>2020-07-01 16:32:55 +0300
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-07-06 21:13:34 +0200
commit2b5de6f839feea0ae1d5289d59dd7f159fcdcc8c (patch)
treef23a5c00a96f30a62ddcf626b4c6a6d53809d14f /ext/intl/dateformat/dateformat_parse.c
parent47579986504022d3eab38e24fff5861d5e4eadad (diff)
downloadphp-git-2b5de6f839feea0ae1d5289d59dd7f159fcdcc8c.tar.gz
Remove proto comments from C files
Closes GH-5758
Diffstat (limited to 'ext/intl/dateformat/dateformat_parse.c')
-rw-r--r--ext/intl/dateformat/dateformat_parse.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/ext/intl/dateformat/dateformat_parse.c b/ext/intl/dateformat/dateformat_parse.c
index d63cce999d..17217a7923 100644
--- a/ext/intl/dateformat/dateformat_parse.c
+++ b/ext/intl/dateformat/dateformat_parse.c
@@ -75,9 +75,7 @@ static void add_to_localtime_arr( IntlDateFormatter_object *dfo, zval* return_va
}
}
-/* {{{
- * Internal function which calls the udat_parseCalendar
-*/
+/* {{{ * Internal function which calls the udat_parseCalendar */
static void internal_parse_to_localtime(IntlDateFormatter_object *dfo, char* text_to_parse, size_t text_len, int32_t *parse_pos, zval *return_value)
{
UCalendar *parsed_calendar = NULL;
@@ -118,10 +116,7 @@ static void internal_parse_to_localtime(IntlDateFormatter_object *dfo, char* tex
/* }}} */
-/* {{{ proto int IntlDateFormatter::parse( string $text_to_parse [, int $parse_pos] )
- * Parse the string $value starting at parse_pos to a Unix timestamp -int }}}*/
-/* {{{ proto int datefmt_parse( IntlDateFormatter $fmt, string $text_to_parse [, int $parse_pos] )
- * Parse the string $value starting at parse_pos to a Unix timestamp -int }}}*/
+/* {{{ Parse the string $value starting at parse_pos to a Unix timestamp -int */
PHP_FUNCTION(datefmt_parse)
{
char* text_to_parse = NULL;
@@ -162,10 +157,7 @@ PHP_FUNCTION(datefmt_parse)
}
/* }}} */
-/* {{{ proto int IntlDateFormatter::localtime( string $text_to_parse[, int $parse_pos] )
- * Parse the string $value to a localtime array }}}*/
-/* {{{ proto int datefmt_localtime( IntlDateFormatter $fmt, string $text_to_parse[, int $parse_pos ])
- * Parse the string $value to a localtime array }}}*/
+/* {{{ Parse the string $value to a localtime array */
PHP_FUNCTION(datefmt_localtime)
{
char* text_to_parse = NULL;