summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_custom2.h
diff options
context:
space:
mode:
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