diff options
Diffstat (limited to 'src/u8c/fmt.c')
-rw-r--r-- | src/u8c/fmt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/u8c/fmt.c b/src/u8c/fmt.c index 67015da..7ea690b 100644 --- a/src/u8c/fmt.c +++ b/src/u8c/fmt.c @@ -14,11 +14,13 @@ If not, see <https://www.gnu.org/licenses/>. */ # include <stdarg.h> +# include <stdbool.h> # include <stddef.h> # include <stdint.h> # include <u8c/fmt.h> +# include <u8c/u32cp.h> # include <u8c/vfmt.h> -uint_least8_t u8c_fmt(size_t * const _outsz,uint_least32_t const * * const _out,uint_least32_t const * const _in,...) { +bool u8c_fmt(size_t * const _outsz,char32_t const * * const _out,char32_t const * const _in,...) { va_list args; va_start(args,_in); uint_least8_t val = u8c_vfmt(_outsz,_out,_in,args); |