msymbol_get_func(3m17n)

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

πŸ’– msymbol_get_func πŸ’–

ok so bestie, welcome to the msymbol_get_func page from the m17n library manual, section 3m17n πŸ¦‹ β€” pull up a chair, this one's short and sweet and we're gonna get you fluent in it in like, thirty seconds, fr fr.


✨ NAME ✨

msymbol_get_func -

ok so the NAME section is giving absolutely nothing today πŸ’€ β€” it's just the function name and a lil dash, no one-line summary attached. That's not me being lazy, that's genuinely the whole thing. We move on. Slay. πŸ’…


🌸 SYNOPSIS 🌸

M17NFunc msymbol_get_func (MSymbol symbol, MSymbol key)

that's it. that's the whole signature. two args, one return, main character energy only. ✨


πŸŽ€ DESCRIPTION πŸŽ€

ok so the vibe here: you're grabbing the value of a symbol property, and that value is a function pointer πŸ”₯.

msymbol_get_func() is lowkey the sibling of msymbol_get() β€” like, same energy, same idea β€” except instead of getting a regular property off your symbol, it's specifically for getting a function pointer form of the property belonging to the symbol symbol, looked up by key. πŸ‘‘

so if you've ever used msymbol_get() and thought "bestie this is perfect but I need it to hand me a function pointer", that's literally the entire reason this function exists. no cap. 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

  • msymbol_get() β€” the one it's similar to, the blueprint, the inspo, the blueprint-inspo πŸ’œ

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>.

like, yes, they said it formally, but we're saying it with love: you can copy, distribute and/or modify this document under the GNU Free Documentation License. that's the whole deal, no catch. πŸŽ€

ok bye bestie, this was Version 1.8.4, dated Mon Sep 25 2023, and honestly it ate. go call a function pointer. πŸ’– ✨ 🌈

πŸ“¦ where this page comes from