aboutsummaryrefslogtreecommitdiff
path: root/sys/libfmt/internal.h
diff options
context:
space:
mode:
authorNicholas <nbnoll@eml.cc>2021-11-11 08:10:09 -0800
committerNicholas <nbnoll@eml.cc>2021-11-11 08:10:09 -0800
commit44b30ea0883af2827e618a45d472b47cf041a842 (patch)
tree1188e17590f8b8b664de4e880aa88433d325df76 /sys/libfmt/internal.h
parentb5de2d7bd1e08d27f7780434e601d6d3a0750583 (diff)
feat: added libfmt
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;
+};