mplist_put_func(3m17n)

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

✨ NAME ✨

mplist_put_func β€” bestie the manpage literally gave us nothing here, it's just the function name and a lil dash, so let's go find out what she does πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

MPlist* mplist_put_func (MPlist * plist, MSymbol key, M17NFunc func)

πŸŽ€ DESCRIPTION πŸŽ€

okay so picture this: you've got a property list, and you wanna set the value of one of its properties β€” but the value is a function pointer. That's the whole gig. 🌸

The mplist_put_func() function is basically mplist_put()'s twin sister, except instead of dropping in some regular value, she's specifically here to set the function pointer func inside the property list plist, filed under key. 🫢

⚠️ real talk though: key must not be a managing key. Like, don't. She said no. 🚫

πŸ‘‘ SEE ALSO πŸ‘‘

  • mplist_put()
  • M17N_FUNC()

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


okay that's the whole page bestie, no cap, you ate that πŸ“βœ¨ This was Version 1.8.4, dated Mon Sep 25 2023, and it lives in section 3m17n of The m17n Library. mwah πŸ’‹ go set some function pointers responsibly πŸ’œ

πŸ“¦ where this page comes from