From 54304fd1441d9bb67299651b943577848c246892 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 20 Dec 2011 13:44:34 +0800 Subject: refine pinyin_internal.h --- src/pinyin_internal.h | 4 +++- src/storage/flexible_ngram.h | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/pinyin_internal.h b/src/pinyin_internal.h index ce5c887..f1b0309 100644 --- a/src/pinyin_internal.h +++ b/src/pinyin_internal.h @@ -23,9 +23,11 @@ #ifndef PINYIN_INTERNAL_H #define PINYIN_INTERNAL_H -#include "pinyin.h" +#include +#include "novel_types.h" #include "memory_chunk.h" #include "pinyin_custom2.h" +#include "chewing_key.h" #include "pinyin_parser2.h" #include "pinyin_phrase2.h" #include "chewing_large_table.h" diff --git a/src/storage/flexible_ngram.h b/src/storage/flexible_ngram.h index b09d58e..a96bf69 100644 --- a/src/storage/flexible_ngram.h +++ b/src/storage/flexible_ngram.h @@ -31,6 +31,8 @@ * struct MagicHeader, ArrayHeader, ArrayItem. */ +namespace pinyin{ + typedef GArray * FlexibleBigramPhraseArray; template @@ -527,4 +529,6 @@ public: }; +}; + #endif -- cgit