diff options
author | Peng Wu <alexepico@gmail.com> | 2013-03-22 11:06:55 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-03-22 11:06:55 +0800 |
commit | 2cc2dadc6bf0149f1a0ed386880e3fb4262e3b67 (patch) | |
tree | eeae3a546ef83e79010f03a7fdc5f09cd1013f94 /src/include | |
parent | 60d7294cce9c5f57e3497765783b9fa65e7ff9c0 (diff) | |
download | libpinyin-2cc2dadc6bf0149f1a0ed386880e3fb4262e3b67.tar.gz libpinyin-2cc2dadc6bf0149f1a0ed386880e3fb4262e3b67.tar.xz libpinyin-2cc2dadc6bf0149f1a0ed386880e3fb4262e3b67.zip |
use G_BEGIN/END_DECLS
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/novel_types.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/novel_types.h b/src/include/novel_types.h index 3011012..088d552 100644 --- a/src/include/novel_types.h +++ b/src/include/novel_types.h @@ -29,7 +29,7 @@ #include <glib.h> -namespace pinyin{ +G_BEGIN_DECLS typedef guint32 phrase_token_t; typedef gunichar ucs4_t; @@ -61,10 +61,10 @@ typedef GArray * PhraseIndexRanges[PHRASE_INDEX_LIBRARY_COUNT]; /* Array of Token */ typedef GArray * PhraseTokens[PHRASE_INDEX_LIBRARY_COUNT]; + /* * PinYin Table Definition */ -class MemoryChunk; /* For both PinYin Table and Phrase Table */ @@ -163,6 +163,6 @@ typedef enum { #define LAMBDA_PARAMETER 0.347121 -}; +G_END_DECLS #endif |