From: Choe Hwanjin Date: Mon, 27 Nov 2006 14:44:57 +0000 (+0900) Subject: * hangulconfig.h 인스톨 룰 추가 X-Git-Tag: libhangul-0.0.4~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b55ceb9aa07391eae39404ac17559306f1ee68df;p=platform%2Fcore%2Fuifw%2Flibhangul.git * hangulconfig.h 인스톨 룰 추가 * hangul.h에서 hangulconfig.h를 include * ucschar를 int type으로 변경 * inttypes.h를 hangulinputcontext.c에서 직접 include하게 함 git-svn-id: http://kldp.net/svn/hangul/libhangul/trunk@100 8f00fcd2-89fc-0310-932e-b01be5b65e01 --- diff --git a/Makefile.am b/Makefile.am index d88d6e7..9b77d02 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,8 @@ SUBDIRS = hangul data bindings test +hangulconfdir = $(includedir)/hangul-1.0 +hangulconf_DATA = hangulconfig.h + pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libhangul.pc diff --git a/hangul/hangul.h b/hangul/hangul.h index 3b22c96..b38a77d 100644 --- a/hangul/hangul.h +++ b/hangul/hangul.h @@ -19,8 +19,7 @@ #ifndef _HANGUL_H_ #define _HANGUL_H_ -#include -#include +#include #ifdef __cplusplus extern "C" { @@ -32,7 +31,7 @@ enum { HANGUL_JUNGSEONG_FILLER = 0x1160 /* hangul jungseong filler */ }; -typedef uint32_t ucschar; +typedef unsigned int ucschar; bool hangul_is_choseong(ucschar c); bool hangul_is_jungseong(ucschar c); diff --git a/hangul/hangulinputcontext.c b/hangul/hangulinputcontext.c index ceee02a..87c6668 100644 --- a/hangul/hangulinputcontext.c +++ b/hangul/hangulinputcontext.c @@ -23,6 +23,7 @@ #include #include #include +#include #include "hangul.h"