minput_destroy_ic(3m17n)
β¨ 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:
icmust have been created byminput_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 fromminput_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:
Minput_preedit_doneMinput_status_doneMinput_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. β
π COPYRIGHT π
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
- debian trixie: m17n-docs 1.8.4-1
- ubuntu noble: m17n-docs 1.8.4-1
- ubuntu questing: m17n-docs 1.8.4-1
- ubuntu resolute: m17n-docs 1.8.4-1build1
- ubuntu stonking: m17n-docs 1.8.4-1build1
- Copyright (C) 2001 Information-technology Promotion Agency (IPA)
- Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms