a lot of changes and support languages

This commit is contained in:
Ondřej Novák 2025-02-07 20:26:54 +01:00
parent 185a6e5382
commit f55f92a88b
38 changed files with 1221 additions and 467 deletions

18
libs/string_table.h Normal file
View file

@ -0,0 +1,18 @@
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
typedef struct stringtable_struct_tag TSTRINGTABLE;
TSTRINGTABLE *stringtable_load(const char *filename);
const char *stringtable_find(const TSTRINGTABLE *st, int id, const char *default_value);
void stringtable_free(TSTRINGTABLE *st);
#ifdef __cplusplus
}
#endif