diff options
author | Nicholas <nbnoll@eml.cc> | 2021-11-11 08:10:09 -0800 |
---|---|---|
committer | Nicholas <nbnoll@eml.cc> | 2021-11-11 08:16:49 -0800 |
commit | 45f9449ae0b904917110d3f6937d0266daa84769 (patch) | |
tree | 701847b3eb6a849e730581660aa5dfb1f0a90ba0 /sys/libfmt/internal.h | |
parent | 7ea1cdb7d31f00024f5a1d124b42cd19a03b959a (diff) |
feat: added libfmt
Diffstat (limited to 'sys/libfmt/internal.h')
-rw-r--r-- | sys/libfmt/internal.h | 15 |
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; +}; |