From 44b30ea0883af2827e618a45d472b47cf041a842 Mon Sep 17 00:00:00 2001 From: Nicholas Date: Thu, 11 Nov 2021 08:10:09 -0800 Subject: feat: added libfmt --- sys/libfmt/internal.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sys/libfmt/internal.h (limited to 'sys/libfmt/internal.h') 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 +#include +#include +#include + +typedef int (*Formatter)(fmt·State *io); +typedef struct Verb Verb; + +struct Verb +{ + int c; + Formatter fmt; +}; -- cgit v1.2.1