summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_custom2.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-03-22 11:06:55 +0800
committerPeng Wu <alexepico@gmail.com>2013-03-22 11:06:55 +0800
commit2cc2dadc6bf0149f1a0ed386880e3fb4262e3b67 (patch)
treeeeae3a546ef83e79010f03a7fdc5f09cd1013f94 /src/storage/pinyin_custom2.h
parent60d7294cce9c5f57e3497765783b9fa65e7ff9c0 (diff)
downloadlibpinyin-2cc2dadc6bf0149f1a0ed386880e3fb4262e3b67.tar.gz
libpinyin-2cc2dadc6bf0149f1a0ed386880e3fb4262e3b67.tar.xz
libpinyin-2cc2dadc6bf0149f1a0ed386880e3fb4262e3b67.zip
use G_BEGIN/END_DECLS
Diffstat (limited to 'src/storage/pinyin_custom2.h')
-rw-r--r--src/storage/pinyin_custom2.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/storage/pinyin_custom2.h b/src/storage/pinyin_custom2.h
index 7e107c1..4685a07 100644
--- a/src/storage/pinyin_custom2.h
+++ b/src/storage/pinyin_custom2.h
@@ -22,7 +22,9 @@
#ifndef PINYIN_CUSTOM2_H
#define PINYIN_CUSTOM2_H
-namespace pinyin{
+#include <glib.h>
+
+G_BEGIN_DECLS
/**
* PinyinTableFlag:
@@ -104,6 +106,6 @@ enum ChewingScheme
CHEWING_DEFAULT = CHEWING_STANDARD
};
-};
+G_END_DECLS
#endif