summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-03-20 16:30:16 +0800
committerPeng Wu <alexepico@gmail.com>2013-03-20 16:30:16 +0800
commitde4fffe7565b81068356b0a7bf5bc47ea851b2c1 (patch)
tree893b6477c798a40931293fefad05332c76d08c5a /src/include
parent714a4bd3d87abf8c377052c3edf6fd39f19f9aa0 (diff)
downloadlibpinyin-de4fffe7565b81068356b0a7bf5bc47ea851b2c1.tar.gz
libpinyin-de4fffe7565b81068356b0a7bf5bc47ea851b2c1.tar.xz
libpinyin-de4fffe7565b81068356b0a7bf5bc47ea851b2c1.zip
fixes novel_types.h
Diffstat (limited to 'src/include')
-rw-r--r--src/include/novel_types.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/novel_types.h b/src/include/novel_types.h
index eb71af6..3011012 100644
--- a/src/include/novel_types.h
+++ b/src/include/novel_types.h
@@ -27,7 +27,6 @@
#ifndef NOVEL_TYPES_H
#define NOVEL_TYPES_H
-#include <limits.h>
#include <glib.h>
namespace pinyin{
@@ -130,8 +129,6 @@ typedef guint32 table_offset_t;
typedef double parameter_t;
-#define LAMBDA_PARAMETER 0.347121
-
/* Array of ChewingKey/ChewingKeyRest */
typedef GArray * ChewingKeyVector;
typedef GArray * ChewingKeyRestVector;
@@ -164,6 +161,8 @@ typedef enum {
USER_DICTIONARY
} PHRASE_INDEX_LIBRARIES;
+#define LAMBDA_PARAMETER 0.347121
+
};
#endif