mplist_set(3m17n)

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

πŸ’… mplist_set β€” the m17n Library, bestie

okay so picture this: you're deep in the m17n library, you've got a property list, and you just wanna edit the very first property that's already sitting there. not add a new one, not delete one β€” just swap out what's in the front slot. that's literally what this function is for. she's giving glow-up, not renovation. πŸ’–


✨ SYNOPSIS ✨

MPlist* mplist_set (MPlist * plist, MSymbol key, void * val)

🌸 DESCRIPTION 🌸

So here's the tea, bestie: mplist_set() sets the key and the value of the first property in the property list plist to key and val respectively. Like, it reaches right into position one and goes "you're different now bestie" and rewrites both fields. πŸŽ€

⚠️ lowkey important: there's a restriction on what key and val are allowed to be β€” and no, she's not explaining it here. the function is literally telling you to go read the documentation of mplist_add() for the restriction on key and val. so go read that. iykyk. 🫢

πŸ”₯ RETURN VALUE πŸ”₯

  • if the operation was successful, mplist_set() returns plist. slay. ✨
  • otherwise, it returns NULL. and that's the vibe check failing, bestie. πŸ’€

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, and it's giving mplist_set(3m17n) main character energy. go forth and set those properties. periodt. πŸ’…πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from