Add sj4_ime_convbuf
This commit is contained in:
parent
54f9cd26d2
commit
28af75999a
3 changed files with 50 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue