diff options
author | Choe Hwanjin <choe.hwanjin@gmail.com> | 2006-10-02 00:35:17 +0900 |
---|---|---|
committer | Choe Hwanjin <choe.hwanjin@gmail.com> | 2006-10-02 00:35:17 +0900 |
commit | 24437f6f0da4846ee28a28a4be0387e97d649dac (patch) | |
tree | 66de147bf7ca01f97e615ed6c132e5114b06953e /hangul/hangul.h | |
parent | 06d29636af5f421ddcfbf160e43f7ca9ef05a7f1 (diff) | |
download | libhangul-24437f6f0da4846ee28a28a4be0387e97d649dac.tar.gz |
hangul/hangul.h,hangul/hanja.c:
* remove hanja_table_match() and add hanja_table_match_prefix() and
hanja_table_match_suffix()
git-svn-id: http://kldp.net/svn/hangul/libhangul/trunk@77 8f00fcd2-89fc-0310-932e-b01be5b65e01
Diffstat (limited to 'hangul/hangul.h')
-rw-r--r-- | hangul/hangul.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/hangul/hangul.h b/hangul/hangul.h index 5d9bc97..11cd84a 100644 --- a/hangul/hangul.h +++ b/hangul/hangul.h @@ -102,11 +102,6 @@ const ucschar* hangul_ic_get_commit_string(HangulInputContext *hic); const ucschar* hangul_ic_flush(HangulInputContext *hic); /* hanja.c */ -enum { - HANJA_MATCH_EXACT, - HANJA_MATCH_PREFIX -}; - typedef struct _Hanja Hanja; typedef struct _HanjaList HanjaList; typedef struct _HanjaTable HanjaTable; @@ -129,8 +124,9 @@ struct _HanjaTable { }; HanjaTable* hanja_table_load(const char *filename); -HanjaList* hanja_table_match(const HanjaTable* table, - int option, const char *key); +HanjaList* hanja_table_match_prefix(const HanjaTable* table, const char *key); +HanjaList* hanja_table_match_suffix(const HanjaTable* table, const char *key); + void hanja_table_destroy(HanjaTable *table); void hanja_list_destroy(HanjaList *list); |