From 84241e6a5e1486335bc7fcd2bc355408bd9ecceb Mon Sep 17 00:00:00 2001 From: handa Date: Sat, 19 Jul 2008 01:51:22 +0000 Subject: [PATCH] *** empty log message *** --- imtest3.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 imtest3.c diff --git a/imtest3.c b/imtest3.c new file mode 100644 index 0000000..04a865c --- /dev/null +++ b/imtest3.c @@ -0,0 +1,25 @@ +#include +#include +#include + +int +main (int argc, char **argv) +{ + MInputMethod *im; + MInputContext *ic; + + M17N_INIT (); + im = minput_open_im (Mt, msymbol ("test"), NULL); + if (im) + { + ic = minput_create_ic (im, NULL); + if (ic) + { + minput_filter (ic, msymbol ("\x80"), NULL); + minput_filter (ic, msymbol ("\x81"), NULL); + minput_destroy_ic (ic); + } + minput_close_im (im); + } + exit (0); +} -- 1.7.10.4