mplist_key(3m17n)
π mplist_key β a lil m17n Library moment π
okay bestie, we're in the m17n Library manual (that's 3m17n, section 3, library calls, iykyk) and today's main character is mplist_key. it's a tiny one. a little snack. but it ATE. π
β¨ NAME β¨
mplist_key β the key getter for property lists π
π SYNOPSIS π
MSymbol mplist_key (MPlist * plist)
like. one argument. one return. so clean. so minimal. we love a low-effort queen. π
π¦ DESCRIPTION π¦
so here's the vibe: mplist_key() hands you back the key of the first property in the property list plist. that's it. that's the whole job. it looks at plist, grabs property number one, and gives you its key. π
and then the plot twist β if the length of plist is zero, it returns Mnil. no properties? no key. Mnil. empty list, empty hands, we've all been there. π
π 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>.
fr fr, that's the whole license situation β copy it, share it, remix it, just keep the GNU FDL energy alive. π«Ά
okay that's the page!! Version 1.8.4, dated Mon Sep 25 2023 β thanks for coming to my TED talk, mwah, go forth and read your property lists πβ¨πΈ
π¦ 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