mchartable_lookup(3m17n)
β¨ NAME β¨
mchartable_lookup β bestie this is the m17n Library's chartable lookup girlie, and she's here to fetch values for you π
π SYNOPSIS π
void* mchartable_lookup (MCharTable * table, int c)
πΈ DESCRIPTION πΈ
okay so. mchartable_lookup() is the one you call when you wanna know what value got assigned to a character in a chartable. You hand her a chartable table and a character c, and she gives you back the value that's been assigned to c in table. no cap, that's the whole job π
But here's the tea π΅ β if nobody ever set a value for c explicitly, she doesn't ghost you, she just returns the default value of table instead. Love that for her.
And if c isn't even a valid character? π Then mchartable_lookup() returns NULL and assigns an error code to the external variable merror_code. So check that variable, bestie, she's not gonna text you first.
π ERRORS π
MERROR_CHAR
π¦ SEE ALSO π¦
mchartable_set()
π 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!! this was Version 1.8.4, dated Mon Sep 25 2023, and it lives under mchartable_lookup(3m17n) in the m17n Library. mwah π go set some chartables, you ate π«Άβ¨
π¦ 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