summaryrefslogtreecommitdiffstats
path: root/src/include/novel_types.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-08-08 14:47:19 +0800
committerPeng Wu <alexepico@gmail.com>2011-08-08 14:47:19 +0800
commite44f8dc3df4766331b4d4296fd2cf7f88f70145a (patch)
treec35d708d4239e0ce490d8eec83532b6caa1dd37c /src/include/novel_types.h
parent63977b501f8a0df504fd83206cc690955519b640 (diff)
downloadlibpinyin-e44f8dc3df4766331b4d4296fd2cf7f88f70145a.tar.gz
libpinyin-e44f8dc3df4766331b4d4296fd2cf7f88f70145a.tar.xz
libpinyin-e44f8dc3df4766331b4d4296fd2cf7f88f70145a.zip
refine MatchResults/TokenVector
Diffstat (limited to 'src/include/novel_types.h')
-rw-r--r--src/include/novel_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/novel_types.h b/src/include/novel_types.h
index 9f1a9fa..8077af6 100644
--- a/src/include/novel_types.h
+++ b/src/include/novel_types.h
@@ -144,4 +144,8 @@ typedef double parameter_t;
#define LAMBDA_PARAMETER 0.588792
+/* Array of phrase_token_t */
+typedef GArray * TokenVector;
+typedef TokenVector MatchResults;
+
#endif