Functioning sj4lib

This commit is contained in:
Nishi 2026-06-21 23:53:20 +09:00
commit 3ccb4e5b29
6 changed files with 210 additions and 39 deletions

View file

@ -7,12 +7,13 @@
#define SJ4BUFSZ (16 * 1024)
typedef union sj4kouhobuffer {
unsigned char sjis[SJ4BUFSZ];
unsigned char eucjp[SJ4BUFSZ];
char utf8[SJ4BUFSZ];
wchar_t utf16[SJ4BUFSZ / sizeof(wchar_t)];
char sjis[SJ4BUFSZ];
char eucjp[SJ4BUFSZ];
char utf8[SJ4BUFSZ];
wchar_t utf16[SJ4BUFSZ / sizeof(wchar_t)];
unsigned char raw[SJ4BUFSZ];
wchar_t wraw[SJ4BUFSZ / sizeof(wchar_t)];
} Sj4KouhoBuffer;
typedef struct sj4kouho {