summaryrefslogtreecommitdiffstats
path: root/src/include/novel_types.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-08-30 15:07:26 +0800
committerPeng Wu <alexepico@gmail.com>2011-08-30 15:16:02 +0800
commitf81c28d21486c984dc9454224929f44698a76191 (patch)
treecb7fa32a35627bd14ec1b595cbf53e4f36e709bb /src/include/novel_types.h
parentb988c0639be9b5b184aa2fed5fd69338abe748f5 (diff)
downloadlibpinyin-f81c28d21486c984dc9454224929f44698a76191.tar.gz
libpinyin-f81c28d21486c984dc9454224929f44698a76191.tar.xz
libpinyin-f81c28d21486c984dc9454224929f44698a76191.zip
add namespace pinyin
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 42dd3fc..62063ba 100644
--- a/src/include/novel_types.h
+++ b/src/include/novel_types.h
@@ -30,6 +30,8 @@
#include <limits.h>
#include <glib.h>
+namespace pinyin{
+
typedef guint32 phrase_token_t;
typedef gunichar2 utf16_t;
@@ -148,4 +150,6 @@ typedef double parameter_t;
typedef GArray * TokenVector;
typedef TokenVector MatchResults;
+};
+
#endif