diff options
Diffstat (limited to 'src/libfmt/internal.h')
-rw-r--r-- | src/libfmt/internal.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 <u.h> +#include <base.h> +#include <libutf.h> +#include <libfmt.h> + +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); |