summaryrefslogtreecommitdiffstats
path: root/src/lookup/lookup.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2017-02-06 13:26:01 +0800
committerPeng Wu <alexepico@gmail.com>2017-02-06 13:31:04 +0800
commit0327c836a2ba39656fb1ec7f7e342a93aac665bb (patch)
tree0396eed67512516903bfd22d6f9bc60d95183617 /src/lookup/lookup.h
parent1e698604f33ece6cbd3ee436aa6b9607003f3150 (diff)
downloadlibpinyin-0327c836a2ba39656fb1ec7f7e342a93aac665bb.tar.gz
libpinyin-0327c836a2ba39656fb1ec7f7e342a93aac665bb.tar.xz
libpinyin-0327c836a2ba39656fb1ec7f7e342a93aac665bb.zip
update PhoneticLookup
Diffstat (limited to 'src/lookup/lookup.h')
-rw-r--r--src/lookup/lookup.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lookup/lookup.h b/src/lookup/lookup.h
index 47fe204..1a7ad55 100644
--- a/src/lookup/lookup.h
+++ b/src/lookup/lookup.h
@@ -68,9 +68,10 @@ class FacadePhraseIndex;
* See also comments on lookup_value_t.
*/
-typedef GHashTable * LookupStepIndex;
/* Key: lookup_key_t, Value: int m, index to m_steps_content[i][m] */
-typedef GArray * LookupStepContent; /* array of lookup_value_t */
+typedef GHashTable * LookupStepIndex;
+/* Array of lookup_value_t or trellis_node */
+typedef GArray * LookupStepContent;
bool convert_to_utf8(FacadePhraseIndex * phrase_index,
MatchResult match_result,