mchar_define_property(3m17n)
π mchar_define_property β the m17n Library's character-property glow-up π
okay bestie, sit down, hydrate, because we're about to define a character property and honestly? it's giving main character energy. this is a page from the m17n Library manual (yes, that m17n, the multilingualization icon π).
β¨ NAME β¨
mchar_define_property β literally just the name, no little tagline, she said "my work speaks for itself" π
πΈ SYNOPSIS πΈ
MSymbol mchar_define_property (const char * name, MSymbol type)
π¦ DESCRIPTION π¦
so like, this function's whole thing is: define a character property. that's it. that's the job. no cap.
mchar_define_property() goes digging through the m17n database looking for data whose tags are <Mchar_table, type, sym>. and where does sym come from, you ask? sym is a symbol whose name is name π β so the name you pass in becomes the name of the symbol. cute, right?
and type?? bestie, type has RULES. it must be one of:
MstringMtextMsymbolMintegerMplist
pick one of those five, that's the vibe check, no substitutions π
β RETURN VALUE β
- if everything went iconic and the operation was successful,
mchar_define_property()hands you backsymπ«Ά - if not? she returns
Mnil. tragic. we've all been there π
π ERRORS π
MERROR_DB
(yes that's the whole list. short king.)
π₯ SEE ALSO π₯
mchar_get_prop()mchar_put_prop()
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 so that's the whole page, bestie. go forth and define those properties, slay responsibly π
Version 1.8.4 β Mon Sep 25 2023 β mchar_define_property(3m17n) π§β¨
π¦ 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