aboutsummaryrefslogtreecommitdiff
path: root/src/base/fmt/internal.h
blob: 7bf47af48f7ba8b49b7071e44b9db061ffd8956d (plain)
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);