mchartable_range(3m17n)
β¨ mchartable_range β the m17n Library β¨
okay bestie, quick vibe check: this is a page from the m17n Library manual, and today's main character is mchartable_range(3m17n). let's get into it π
πΈ NAME πΈ
mchartable_range -
(yeah bestie the original NAME line is literally just that dash, no description. we respect the dash. the dash is iconic.)
π¦ SYNOPSIS π¦
void mchartable_range (MCharTable * table, int * from, int * to)
π DESCRIPTION π
so like. we're going on a lil scavenger hunt πβ¨
The mchartable_range() function searches chartable table for the first and the last character codes that do not have the default value of table, and set from and to to them, respectively.
translation for the girlies: it finds the first char code and the last char code in table that are lowkey not defaulting, and it drops those two numbers into from and to. first one β from, last one β to. simple. ate. π
and if literally every single character has the default value? then both from and to are set to -1. no non-defaults, no range, no problem. π
fr fr remember: it's -1 for both when the table is all defaults. not one, both. don't come for me.
π 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, no cap π«Ά stay hydrated, keep your pointers valid, and remember: this was Version 1.8.4, dated Mon Sep 25 2023, and yes it's still out here going by mchartable_range(3m17n). mwah ππβ
π¦ 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