1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#pragma once #include <u.h> #include <base.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);