From: Peng Huang Date: Mon, 19 Apr 2010 07:12:03 +0000 (+0800) Subject: Does not use typedef any more X-Git-Tag: 1.3.10~190 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd5261752efc27558d4ccc46498faaf1d6955cd4;p=platform%2Fupstream%2Fibus-libpinyin.git Does not use typedef any more --- diff --git a/src/Phrase.h b/src/Phrase.h index 1f1f067..e81d6cd 100644 --- a/src/Phrase.h +++ b/src/Phrase.h @@ -6,8 +6,7 @@ namespace PY { -typedef struct _Phrase Phrase; -struct _Phrase { +struct Phrase { gchar phrase[MAX_UTF8_LEN * (MAX_PHRASE_LEN + 1)]; guint freq; guint user_freq; diff --git a/src/Types.h b/src/Types.h index 7feb357..6104420 100644 --- a/src/Types.h +++ b/src/Types.h @@ -105,8 +105,7 @@ namespace PY { #define PINYIN_FUZZY_UANG_UAN (1U << 31) #define PINYIN_FUZZY_ALL (0xffffff00) -typedef struct _Pinyin Pinyin; -struct _Pinyin { +struct Pinyin { const gchar *text; const gchar *sheng; const gchar *yun;