mplist_push(3m17n)
π mplist_push β the m17n Library's lil "new property, front of the line" icon β¨
okay bestie, gather round, because we are learning about mplist_push from the m17n Library manual (that's the manual name, mwah π
) and honestly? she's serving convenience.
πΈ NAME πΈ
mplist_push β the function that slides a brand-new property in at the very front of your property list π
β¨ SYNOPSIS β¨
MPlist* mplist_push (MPlist * plist, MSymbol key, void * val)
π¦ DESCRIPTION π¦
So like. You know how sometimes you want to add something and you want it to be first? Main character energy. Front of the queue. That's her.
The mplist_push() function inserts, at the beginning of the property list plist, a property whose key is key and whose value is val. π
π Now listen carefully because this is the important part: ifkeyis a managing key, thenvalmust be a managed object. And when that's the case, the reference count ofvalgets incremented by one. No cap. That's just how it is. π«Ά
π RETURN VALUE π
- If the operation was successful, this function returns
plist. slay, she's back, holding your list β - Otherwise, it returns
NULL. sad girl hours π
π 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 vibe check bestie π this was Version 1.8.4, dated Mon Sep 25 2023, and it lives under mplist_push(3m17n). go forth and push your properties, queen πβ¨πΈ
π¦ 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