mtext_get_prop_values(3m17n)
π mtext_get_prop_values π
okay bestie, welcome to the m17n Library manual, page mtext_get_prop_values(3m17n). yes this is a real function and yes it's lowkey iconic. let's get into it β¨
π NAME π
mtext_get_prop_values -
(no cap, the original page leaves the description blank. we respect the blank. the blank is the vibe.)
πΈ SYNOPSIS πΈ
int mtext_get_prop_values (MText * mt, int pos, MSymbol key, void **
values, int num)
π¦ DESCRIPTION π¦
okay so picture this: you want multiple values of a text property. not one. MULTIPLE. main character energy fr.
The mtext_get_prop_values() function searches the character at pos in M-text mt for the property whose key is key. slay.
If such a property is found, its values are stored in the memory area pointed to by values. π
And num limits the maximum number of stored values. that's the cap. literally the cap. don't exceed it.
β¨ RETURN VALUE β¨
- If the operation was successful,
mtext_get_prop_values()returns the number of actually stored values. π«Ά - If the character at
posdoes not have a property whose key iskey, the return value is0. (it's giving "nothing here bestie") - If an error is detected,
mtext_get_prop_values()returns-1and assigns an error code to the external variablemerror_code. π
π ERRORS π
MERROR_RANGE,MERROR_SYMBOL
π₯ SEE ALSO π₯
mtext_get_prop()mtext_put_prop()mtext_put_prop_values()mtext_push_prop()mtext_pop_prop()mtext_prop_range()
go read those too, iykyk π
π 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>.
okay that's the whole page bestie, you ate it π
Version 1.8.4 Β· Mon Sep 25 2023 Β· and we were all hanging out on mtext_get_prop_values(3m17n) the whole time πβ¨ mwah, bye!! π¦π
π¦ 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