mchartable(3m17n)
β¨ NAME β¨
mchartable β bestie it's literally the function that makes you a brand new chartable, that's it, that's the whole name π
π SYNOPSIS π
MCharTable* mchartable (MSymbol key, void * default_value)
π DESCRIPTION π
okay so. mchartable() is here to create a new chartable. That's the whole assignment, and she ate. π«Ά
You hand her a symbol β that's your key β and a default_value, and boom, a fresh new chartable object exists in the world with that key and that default value. main character energy fr.
And now the part you actually need to know, no cap: if key is a managing key, the elements of the table (including the default value) are managed objects or NULL. That's the rule. That's the vibe check. Don't forget it. π¦
β RETURN VALUE β
So what do you get back? Two possibilities, bestie:
- If the operation was successful,
mchartable()returns a pointer to the created chartable. Slay. π - Otherwise it returns
NULL, and β not me having to tell you this β it assigns an error code to the external variablemerror_code. π
π 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, we're done here π this was Version 1.8.4, dated Mon Sep 25 2023, and it's part of the m17n Library docs β mchartable(3m17n) 4ever, iykyk πβ¨πΈ
π¦ 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