mchartable_max_char(3m17n)

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

✨ mchartable_max_char ✨

okay so real quick bestie, this one lives in the m17n Library, and its manual name is 3m17n β€” that's the section-three part of the library, so you know it's a C function situation πŸ’…


🌸 NAME 🌸

mchartable_max_char β€” the vibe check for how far your char table goes πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

int mchartable_max_char (MCharTable * table)

like. that's it. one arg. one int coming back at you. slay ✨


πŸ’– DESCRIPTION πŸ’–

okay so listen: this function returns the maximum character whose value is set in a chartable. yes, "chartabe" β€” the original said that, and I'm not gonna pretend it didn't, we don't erase history in this house 😭

so mchartable_max_char() hands you back the biggest character that actually has a value set inside the chartable table.

and if no character has its value set at all? then it gives you -1. that's the "there's nothing here, bestie" signal 🫢 not zero, not some huge number, just -1. iconic behavior honestly.


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.

fr fr, that's the whole legal bit, don't skip it, the license is doing important work πŸ’œ

🌈 and that's the page, bestie! this was Version 1.8.4, dated Mon Sep 25 2023 β€” go forth and find your maximum character, no cap πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from