aboutsummaryrefslogtreecommitdiff
path: root/sys/libfmt/internal.h
blob: 725cfff8b4673563e25def24c60d2246a4771602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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;
};

void fmt·setlocale(fmt·State *io, char *decimal, char *thousands, char *groups);