mtext_get_properties(3m17n)
β¨ mtext_get_properties β¨
okay so bestie, welcome to the m17n Library manual page for mtext_get_properties β that's a <cyan>3m17n</cyan> section situation, iykyk π
πΈ NAME πΈ
mtext_get_properties β grab a whole lil squad of text properties at once π«Ά
π SYNOPSIS π
int mtext_get_properties (MText * mt, int pos, MSymbol key,
MTextProperty ** props, int num)
π DESCRIPTION π
So like. You know how a single character can be carrying multiple properties at the same time? Yeah. This function is the one that goes and fetches them. Get multiple text properties. β¨
The mtext_get_properties() function searches the character at pos in M-text mt for properties whose key is key. π
If such properties are found, they are stored in the memory area pointed to by props. And num is the vibe check on how many you're allowed to take β it limits the maximum number of stored properties. π
β RETURN VALUE β
- If the operation was successful,
mtext_get_properties()returns the number of actually stored properties. π - If the character at
posdoes not have a property whose key iskey, the return value is0. (sad girl hours, no properties for you π) - If an error is detected,
mtext_get_properties()returns-1and assigns an error code to the external variablemerror_code. π
ngl bestie, if you see that-1, go checkmerror_codeimmediately. fr fr.
π 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, periodt π
this was Version 1.8.4, dated Mon Sep 25 2023, and it's the mtext_get_properties(3m17n) manual β slay, go get those properties bestie π¦β¨
π¦ 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