aboutsummaryrefslogtreecommitdiff
path: root/src/libfmt/internal.h
diff options
context:
space:
mode:
authorNicholas <nbnoll@eml.cc>2021-11-12 09:22:01 -0800
committerNicholas <nbnoll@eml.cc>2021-11-12 09:22:01 -0800
commitce05175372a9ddca1a225db0765ace1127a39293 (patch)
tree5988b4d4f6b402e4953945886fc90aae11203df6 /src/libfmt/internal.h
parentb375f3cdedb5b0e08745d100b40e38d2f8396a58 (diff)
chore: simplified organizational structurelaptop
Diffstat (limited to 'src/libfmt/internal.h')
-rw-r--r--src/libfmt/internal.h17
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);