From 581f0fd06f62791d5c2e31b4a8c7b1f07a82d313 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 21 Mar 2013 09:55:59 +0800 Subject: hide defines --- src/pinyin.h | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'src/pinyin.h') diff --git a/src/pinyin.h b/src/pinyin.h index 40d9d3d..e8c46bf 100644 --- a/src/pinyin.h +++ b/src/pinyin.h @@ -63,33 +63,6 @@ enum lookup_candidate_type_t{ ZOMBIE_CANDIDATE }; -struct _lookup_candidate_t{ - enum lookup_candidate_type_t m_candidate_type; - gchar * m_phrase_string; - phrase_token_t m_token; - ChewingKeyRest m_orig_rest; - gchar * m_new_pinyins; - guint32 m_freq; /* the amplifed gfloat numerical value. */ -public: - _lookup_candidate_t() { - m_candidate_type = NORMAL_CANDIDATE; - m_phrase_string = NULL; - m_token = null_token; - m_new_pinyins = NULL; - m_freq = 0; - } -}; - -struct _pinyin_instance_t{ - pinyin_context_t * m_context; - gchar * m_raw_full_pinyin; - TokenVector m_prefixes; - ChewingKeyVector m_pinyin_keys; - ChewingKeyRestVector m_pinyin_key_rests; - CandidateConstraints m_constraints; - MatchResults m_match_results; -}; - /** * pinyin_init: * @systemdir: the system wide language model data directory. -- cgit