mplist_get_func(3m17n)

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

✨ NAME ✨

mplist_get_func β€” bestie, this is the m17n library's little function-pointer-fetcher πŸ’… (it's in the 3m17n manual, if you were wondering πŸŽ€)


🌸 SYNOPSIS 🌸

M17NFunc mplist_get_func (MPlist * plist, MSymbol key)

πŸ’– DESCRIPTION πŸ’–

okay so. You've got a property list, and somewhere in there is a value that happens to be a function pointer. Not a string, not a number, not a symbol β€” a whole function. Main character value energy. πŸ‘‘

mplist_get_func() goes and grabs it for you. You hand it a property list (plist) and a key (key), and it hands back the function pointer (an M17NFunc) that lives at that key.

It's literally mplist_get()'s sibling, no cap β€” same vibe, same energy, except this one is specifically built for pulling out a function pointer instead of whatever else you might be storing. 🫢

fr fr: mplist_get_func() is similar to mplist_get() but for getting a function pointer from property list plist by key key.

πŸ¦‹ SEE ALSO πŸ¦‹

  • mplist_get()

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


and that's the whole page, bestie πŸ’œ This was Version 1.8.4, dated Mon Sep 25 2023 β€” mwah, iconic, no notes. πŸŽ€βœ¨πŸ’…

πŸ“¦ where this page comes from