projects
/
m17n
/
m17n-test.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
*** empty log message ***
[m17n/m17n-test.git]
/
imtest3.c
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include <m17n.h>
4
5
int
6
main (int argc, char **argv)
7
{
8
MInputMethod *im;
9
MInputContext *ic;
10
11
M17N_INIT ();
12
im = minput_open_im (Mt, msymbol ("test"), NULL);
13
if (im)
14
{
15
ic = minput_create_ic (im, NULL);
16
if (ic)
17
{
18
minput_filter (ic, msymbol ("\x80"), NULL);
19
minput_filter (ic, msymbol ("\x81"), NULL);
20
minput_destroy_ic (ic);
21
}
22
minput_close_im (im);
23
}
24
exit (0);
25
}