mplist_set(3m17n)
π 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 whatkeyandvalare allowed to be β and no, she's not explaining it here. the function is literally telling you to go read the documentation ofmplist_add()for the restriction onkeyandval. so go read that. iykyk. π«Ά
π₯ RETURN VALUE π₯
- if the operation was successful,
mplist_set()returnsplist. slay. β¨ - otherwise, it returns
NULL. and that's the vibe check failing, bestie. π
π COPYRIGHT π
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
- debian trixie: m17n-docs 1.8.4-1
- ubuntu noble: m17n-docs 1.8.4-1
- ubuntu questing: m17n-docs 1.8.4-1
- ubuntu resolute: m17n-docs 1.8.4-1build1
- ubuntu stonking: m17n-docs 1.8.4-1build1
- Copyright (C) 2001 Information-technology Promotion Agency (IPA)
- Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms