summaryrefslogtreecommitdiff
path: root/src/table/strgen_tables.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/table/strgen_tables.h')
-rw-r--r--src/table/strgen_tables.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/table/strgen_tables.h b/src/table/strgen_tables.h
index ba852ed60..bed658eac 100644
--- a/src/table/strgen_tables.h
+++ b/src/table/strgen_tables.h
@@ -19,7 +19,8 @@ enum CmdFlags {
};
DECLARE_ENUM_AS_BIT_SET(CmdFlags)
-typedef void (*ParseCmdProc)(char *buf, int value);
+struct Buffer;
+typedef void (*ParseCmdProc)(Buffer *buffer, char *buf, int value);
struct CmdStruct {
const char *cmd;
@@ -29,9 +30,9 @@ struct CmdStruct {
CmdFlags flags;
};
-static void EmitSingleChar(char *buf, int value);
-static void EmitPlural(char *buf, int value);
-static void EmitGender(char *buf, int value);
+static void EmitSingleChar(Buffer *buffer, char *buf, int value);
+static void EmitPlural(Buffer *buffer, char *buf, int value);
+static void EmitGender(Buffer *buffer, char *buf, int value);
static const CmdStruct _cmd_structs[] = {
/* Font size */