From 4a830d6660e877fd879e9b4ae55c4fda9a2087aa Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 8 Aug 2012 16:16:59 +0800 Subject: add init context --- src/PYLibPinyin.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/PYLibPinyin.h') diff --git a/src/PYLibPinyin.h b/src/PYLibPinyin.h index 9807ca4..1dba971 100644 --- a/src/PYLibPinyin.h +++ b/src/PYLibPinyin.h @@ -41,6 +41,9 @@ public: gboolean setPinyinOptions (Config *config); gboolean setChewingOptions (Config *config); + pinyin_context_t * initPinyinContext (); + pinyin_context_t * initChewingContext (); + pinyin_instance_t *allocPinyinInstance (); void freePinyinInstance (pinyin_instance_t *instance); pinyin_instance_t *allocChewingInstance (); -- cgit