From ce05175372a9ddca1a225db0765ace1127a39293 Mon Sep 17 00:00:00 2001 From: Nicholas Date: Fri, 12 Nov 2021 09:22:01 -0800 Subject: chore: simplified organizational structure --- src/libfmt/internal.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/libfmt/internal.h (limited to 'src/libfmt/internal.h') diff --git a/src/libfmt/internal.h b/src/libfmt/internal.h new file mode 100644 index 0000000..725cfff --- /dev/null +++ b/src/libfmt/internal.h @@ -0,0 +1,17 @@ +#pragma once + +#include +#include +#include +#include + +typedef int (*Formatter)(fmt·State *io); +typedef struct Verb Verb; + +struct Verb +{ + int c; + Formatter fmt; +}; + +void fmt·setlocale(fmt·State *io, char *decimal, char *thousands, char *groups); -- cgit v1.2.1