mscript_language_list(3m17n)
π mscript_language_list β the m17n library's little matchmaker π
okay bestie, welcome to mscript_language_list from the m17n Library (that's m17n, manual section 3m17n, if you're keeping track π). pull up a chair, this one's cute and short.
β¨ NAME β¨
mscript_language_list β no cap, that's the whole name, the original literally leaves it at a dash and honestly? iconic. she lets the function speak for herself. π
β¨ SYNOPSIS β¨
MPlist* mscript_language_list (MSymbol script)
that's it. one arg. one return. we love a low-effort queen π«Ά
β¨ DESCRIPTION β¨
so the vibe here is: list languages that use a specified script. that's the whole job, and she does it flawlessly.
mscript_language_list() lists languages that use script.
and what even is script, you ask? it's an MSymbol whose name is the lower-cased version of a script name that appears in the Unicode Character Database. so like, lowercase it, bestie. don't be sending her a shouty symbol. π₯
β¨ RETURN VALUE β¨
okay this is the part where she hands you a gift, so listen up:
- she returns a well-formed plist whose keys are
Msymboland whose values are symbols whose names are ISO639-1 2-letter codes β or ISO639-2 3-letter codes if the 2-letter one isn't available. so you get the short code when it exists, and the longer one when it doesn't. she's not gonna leave you hanging with a gap. π - > β οΈ the caller should not modify nor free it. seriously. hands off. it's not yours, don't touch it, don't
free()it, don't get creative. this is a look-don't-touch situation and the library will notice. π - and if the m17n library genuinely doesn't know about
script? she returnsNULL. no drama, no guess, justNULL. that's her being honest with you. π¦
β¨ SEE ALSO β¨
go bother her friends too, they're all lovely:
mscript_list()mlanguage_list()
β¨ COPYRIGHT β¨
bestie we have to do the legal bit, it's required, it's giving paperwork but we're doing it with love π
- 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 β the full thing lives at http://www.gnu.org/licenses/fdl.html if you wanna read it (iykyk, nobody reads it, but it's there for you πΈ).
k that's the whole page, you ate it, go forth and lowercase your script symbols π β¨
Version 1.8.4 Β· Mon Sep 25 2023 Β· mscript_language_list(3m17n) β mwah, thanks for reading, ily, 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