summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChoe Hwanjin <choe.hwanjin@gmail.com>2009-10-18 23:21:21 +0900
committerChoe Hwanjin <choe.hwanjin@gmail.com>2009-10-18 23:21:21 +0900
commit94ee75dd9b15d4dffbe1e63274c1e26189865fa7 (patch)
tree9e6d3beff1d0357f8cb2e915000db7943c16bd9e /test
parentbcdfb83212580a0ccad8c5867653a0774c9e0aa7 (diff)
downloadlibhangul-94ee75dd9b15d4dffbe1e63274c1e26189865fa7.tar.gz
deprecate된 함수를 사용하지 않음
git-svn-id: http://kldp.net/svn/hangul/libhangul/trunk@202 8f00fcd2-89fc-0310-932e-b01be5b65e01
Diffstat (limited to 'test')
-rw-r--r--test/hangul.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/hangul.c b/test/hangul.c
index d9a0f30..4023759 100644
--- a/test/hangul.c
+++ b/test/hangul.c
@@ -15,13 +15,6 @@
#define UCS4 "UCS-4LE"
#endif
-bool filter(ucschar *str, ucschar cho, ucschar jung, ucschar jong, void *data)
-{
- //printf("Filter: %x %x %x\n", cho, jung, jong);
- //return jong == 0;
- return true;
-}
-
void ucs4_to_utf8(char *buf, const ucschar *ucs4, size_t bufsize)
{
size_t n;
@@ -75,7 +68,6 @@ main(int argc, char *argv[])
printf("hic is null\n");
return -1;
}
- hangul_ic_set_filter(hic, filter, NULL);
for (ascii = getchar(); ascii != EOF; ascii = getchar()) {
int ret = hangul_ic_process(hic, ascii);