From de4fffe7565b81068356b0a7bf5bc47ea851b2c1 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 20 Mar 2013 16:30:16 +0800 Subject: fixes novel_types.h --- src/include/novel_types.h | 5 ++--- src/lookup/lookup.h | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 #include 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 diff --git a/src/lookup/lookup.h b/src/lookup/lookup.h index 6bf7a71..498d7ea 100644 --- a/src/lookup/lookup.h +++ b/src/lookup/lookup.h @@ -28,6 +28,7 @@ */ #include "novel_types.h" +#include namespace pinyin{ -- cgit