# HG changeset patch # User Matti Hamalainen # Date 1675989934 -7200 # Node ID 449a031c297c1fa7419452eba7346c833aff8344 # Parent 6c06cf786789dea4c09dc6a751053588f02478f9 Un-macroify th_vprintf_buf_*() function prototypes. diff -r 6c06cf786789 -r 449a031c297c th_string.h --- a/th_string.h Fri Feb 10 02:10:49 2023 +0200 +++ b/th_string.h Fri Feb 10 02:45:34 2023 +0200 @@ -194,17 +194,13 @@ th_char_t *buf, int f_flags, int f_width, int f_prec, int f_len, int vret, bool f_neg, bool f_unsig, th_vprintf_altfmt_func f_alt); - -#define TH_VPRINTF_INTFMT_NAME th_vprintf_buf_int -#define TH_VPRINTF_INTFMT_TYPE_S int -#define TH_VPRINTF_INTFMT_TYPE_U unsigned int -#include "th_printf1.c" +int th_vprintf_buf_int(char *buf, const int len, int *pos, + int pval, const int f_radix, const bool f_upcase, + const bool f_unsig, bool *f_neg); - -#define TH_VPRINTF_INTFMT_NAME th_vprintf_buf_int64 -#define TH_VPRINTF_INTFMT_TYPE_S int64_t -#define TH_VPRINTF_INTFMT_TYPE_U uint64_t -#include "th_printf1.c" +int th_vprintf_buf_int64(char *buf, const int len, int *pos, + int64_t pval, const int f_radix, const bool f_upcase, + const bool f_unsig, bool *f_neg); #ifdef TH_PRINTF_DEBUG