Add sj4_ime_convbuf

This commit is contained in:
Nishi 2026-07-02 09:41:03 +09:00
commit 28af75999a
3 changed files with 50 additions and 8 deletions

View file

@ -5,6 +5,10 @@
#include <wchar.h>
#ifdef __cplusplus
extern "C" {
#endif
enum SJ4CHARSET {
SJ4EUCJP = 0,
SJ4SJIS,
@ -22,4 +26,8 @@ int sj4_to_utf16(u_char* out, const u_char* in, int len);
int sj4_charset_to(int type, void* output, const void* input, int len);
int sj4_charset_from(int type, void* output, const void* input, int len);
#ifdef __cplusplus
}
#endif
#endif

View file

@ -11,6 +11,7 @@ typedef struct sj4ime Sj4Ime;
Sj4Ime* sj4_ime(int charset, const char* dict);
void sj4_ime_key(Sj4Ime* ime, int key);
void* sj4_ime_convbuf(Sj4Ime* ime);
#ifdef __cplusplus
}