mchartable_range(3m17n)

πŸ“¦
version 1.8.4 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 (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