minput_destroy_ic(3m17n)

πŸ“¦
version 1.8.4 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ minput_destroy_ic β€” the m17n library's lil cleanup baddie ✨

okay so bestie, welcome to minput_destroy_ic, a page from the m17n manual (that's section 3m17n if you're keeping score πŸŽ€). it's giving short, it's giving sweet, it's giving "your input context is done, time to say bye πŸ’…". let's get into it.


🌸 NAME 🌸

minput_destroy_ic β€” destroy an input context πŸ’– (yes that's the whole name section, she's minimal, she's iconic)


πŸ¦‹ SYNOPSIS πŸ¦‹

void minput_destroy_ic (MInputContext * ic)

that's it. one function, one pointer, returns void β€” no little treat, no return value, she just does the thing and leaves 😌


πŸ’… DESCRIPTION πŸ’…

okay so here's the tea. minput_destroy_ic() destroys the input context ic. that's the whole job. main character energy, no notes. 🫢

BUT. and this is the important part, bestie, don't skip it:

ic must have been created by minput_create_ic(). like, that's non-negotiable. if you're out here passing it some random context you made up yourself, that's not it. it has to come from minput_create_ic(), periodt.

and the way it cleans up is honestly kind of organized of her β€” she calls callback functions corresponding to these three, in this exact order:

  1. Minput_preedit_done
  2. Minput_status_done
  3. Minput_candidates_done

so preedit says bye first πŸ‘‹, then status, then candidates last. in that order. fr fr. don't be out here expecting them in a different sequence, she has a whole routine and she's sticking to it. ⭐


the legal girls, the paperwork queens, we have to give them their moment:

  • Copyright (C) 2001 Information-technology Promotion Agency (IPA)
  • Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)

and 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>. slay, licensing-wise. πŸ“œβœ¨


and that's the whole page, babe πŸ’œ this was Version 1.8.4, dated Mon Sep 25 2023 β€” go forth and destroy your input contexts responsibly, and remember: created by minput_create_ic() or it doesn't count πŸ˜­πŸ’–

πŸ“¦ where this page comes from