Mercurial > hg > th-libs
changeset 236:334adfa3f646
Function argument list split & indentation cosmetic.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 16 Feb 2016 16:00:44 +0200 |
parents | 507defb0cb61 |
children | c55ebc438243 |
files | th_string.c |
diffstat | 1 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/th_string.c Tue Feb 16 15:59:43 2016 +0200 +++ b/th_string.c Tue Feb 16 16:00:44 2016 +0200 @@ -108,9 +108,12 @@ } -/* Simple implementations of printf() type functions - */ -static int th_vput_itoa(void *ctx, int (*vputch)(void *ctx, const char ch), int val, int radix, char padMode, int width, BOOL unsig, BOOL upcase, BOOL sign) +// +// Simple implementations of printf() type functions +// +static int th_vput_itoa(void *ctx, int (*vputch)(void *ctx, const char ch), + int val, const int radix, const char padMode, const int width, + const BOOL unsig, const BOOL upcase, const BOOL sign) { char buf[64]; size_t pos = 0; @@ -188,7 +191,8 @@ } -static int th_vput_str(void *ctx, int (*vputch)(void *ctx, const char ch), const char *str, char padMode, int width) +static int th_vput_str(void *ctx, int (*vputch)(void *ctx, const char ch), + const char *str, const char padMode, const int width) { int nwidth = width - strlen(str); int ret = 0;