msymbol_put_func(3m17n)

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

✨ msymbol_put_func ✨

okay bestie, welcome to the msymbol_put_func page from The m17n Library πŸ’– this one's short and sweet, like a lil snack, but it's lowkey important so pay attention 🫢


🌸 NAME 🌸

msymbol_put_func β€” the function that sets a function pointer as a symbol property πŸ’…

(okay so the original NAME line was literally just a dash, but you know what it does now, iykyk 😌)


πŸŽ€ SYNOPSIS πŸŽ€

int msymbol_put_func (MSymbol symbol, MSymbol key, M17NFunc func)

like… look at her. three args, returns an int, no notes. iconic πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: this function sets the value (a function pointer) of a symbol property. ✨

msymbol_put_func() is basically the sibling of msymbol_put() β€” similar energy, different delivery β€” except instead of some regular value, it sets the function pointer func as the property value of symbol for the key key. fr fr that's the whole thing. no cap. πŸ’–

bestie note: if you wanted the regular-value version, that's a different function. don't mix them up, i'm begging 😭

πŸ”₯ SEE ALSO πŸ”₯

  • msymbol_put()
  • M17N_FUNC()

go read those too, they're the rest of the lore πŸ“šβœ¨


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 πŸŽ€ tysm for reading, this was Version 1.8.4 and it was dated Mon Sep 25 2023 β€” go forth and set those function pointers, you absolute main character πŸŒˆπŸ’œπŸ¦‹

πŸ“¦ where this page comes from