tony2001 Mon Apr 9 21:19:38 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/standard formatted_print.c Log: fix folding tags http://cvs.php.net/viewvc.cgi/php-src/ext/standard/formatted_print.c?r1=1.82.2.1.2.14&r2=1.82.2.1.2.15&diff_format=u Index: php-src/ext/standard/formatted_print.c diff -u php-src/ext/standard/formatted_print.c:1.82.2.1.2.14 php-src/ext/standard/formatted_print.c:1.82.2.1.2.15 --- php-src/ext/standard/formatted_print.c:1.82.2.1.2.14 Wed Jan 17 08:25:32 2007 +++ php-src/ext/standard/formatted_print.c Mon Apr 9 21:19:38 2007 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: formatted_print.c,v 1.82.2.1.2.14 2007/01/17 08:25:32 tony2001 Exp $ */ +/* $Id: formatted_print.c,v 1.82.2.1.2.15 2007/04/09 21:19:38 tony2001 Exp $ */ #include <math.h> /* modf() */ #include "php.h" @@ -53,7 +53,7 @@ static char hexchars[] = "0123456789abcdef"; static char HEXCHARS[] = "0123456789ABCDEF"; - +/* php_spintf_appendchar() {{{ */ inline static void php_sprintf_appendchar(char **buffer, int *pos, int *size, char add TSRMLS_DC) { @@ -65,8 +65,9 @@ PRINTF_DEBUG(("sprintf: appending '%c', pos=\n", add, *pos)); (*buffer)[(*pos)++] = add; } +/* }}} */ - +/* php_spintf_appendstring() {{{ */ inline static void php_sprintf_appendstring(char **buffer, int *pos, int *size, char *add, int min_width, int max_width, char padding, @@ -115,8 +116,9 @@ } } } +/* }}} */ - +/* php_spintf_appendint() {{{ */ inline static void php_sprintf_appendint(char **buffer, int *pos, int *size, long number, int width, char padding, int alignment, @@ -158,7 +160,9 @@ padding, alignment, (NUM_BUF_SIZE - 1) - i, neg, 0, always_sign); } +/* }}} */ +/* php_spintf_appenduint() {{{ */ inline static void php_sprintf_appenduint(char **buffer, int *pos, int *size, unsigned long number, @@ -188,7 +192,9 @@ php_sprintf_appendstring(buffer, pos, size, &numbuf[i], width, 0, padding, alignment, (NUM_BUF_SIZE - 1) - i, 0, 0, 0); } +/* }}} */ +/* php_spintf_appenddouble() {{{ */ inline static void php_sprintf_appenddouble(char **buffer, int *pos, int *size, double number, @@ -276,8 +282,9 @@ php_sprintf_appendstring(buffer, pos, size, s, width, 0, padding, alignment, s_len, is_negative, 0, always_sign); } +/* }}} */ - +/* php_spintf_appendd2n() {{{ */ inline static void php_sprintf_append2n(char **buffer, int *pos, int *size, long number, int width, char padding, int alignment, int n, @@ -306,8 +313,9 @@ padding, alignment, (NUM_BUF_SIZE - 1) - i, 0, expprec, 0); } +/* }}} */ - +/* php_spintf_getnumber() {{{ */ inline static int php_sprintf_getnumber(char *buffer, int *pos) { @@ -327,8 +335,9 @@ return (int) num; } } +/* }}} */ -/* {{{ php_formatted_print +/* php_formatted_print() {{{ * New sprintf implementation for PHP. * * Modifiers: @@ -770,7 +779,6 @@ } /* }}} */ - /* * Local variables: * tab-width: 4
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php