From: handa Date: Sat, 19 Jul 2008 01:51:22 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=84241e6a5e1486335bc7fcd2bc355408bd9ecceb;p=m17n%2Fm17n-test.git *** empty log message *** --- 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); +}