aboutsummaryrefslogtreecommitdiff
path: root/sys/libfmt/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/libfmt/internal.h')
-rw-r--r--sys/libfmt/internal.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/libfmt/internal.h b/sys/libfmt/internal.h
new file mode 100644
index 0000000..56e64c8
--- /dev/null
+++ b/sys/libfmt/internal.h
@@ -0,0 +1,15 @@
+#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;
+};