DOKK / manpages / debian 12 / m17n-docs / minput_lookup.3m17n.en
minput_lookup(3m17n) The m17n Library minput_lookup(3m17n)

minput_lookup - Look up a text produced in the input context.

int minput_lookup (MInputContext * ic, MSymbol key, void * arg, MText * mt)

Look up a text produced in the input context. The minput_lookup() function looks up a text in the input context ic. key must be identical to the one that was used in the previous call of minput_filter().

If a text was produced by the input method, it is concatenated to M-text mt.

This function calls MInputDriver::lookup.

If key was correctly handled by the input method, this function returns 0. Otherwise, it returns -1, even though some text might be produced in mt.

Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>.

12 Jan 2011 Version 1.6.2