unibi_set_ext_num_name(3)

✨ NAME ✨

okay so bestie, this is the unibilium page for unibi_get_ext_bool_name, unibi_set_ext_bool_name, unibi_get_ext_num_name, unibi_set_ext_num_name, unibi_get_ext_str_name, unibi_set_ext_str_name β€” they're the ones that let you access the names of extended capabilities of a terminal object πŸ’…


🌈 SYNOPSIS 🌈

#include <unibilium.h>

const char *unibi_get_ext_bool_name(const unibi_term *ut, size_t i);
const char *unibi_get_ext_num_name(const unibi_term *ut, size_t i);
const char *unibi_get_ext_str_name(const unibi_term *ut, size_t i);

void unibi_set_ext_bool_name(unibi_term *ut, size_t i, const char *s);
void unibi_set_ext_num_name(unibi_term *ut, size_t i, const char *s);
void unibi_set_ext_str_name(unibi_term *ut, size_t i, const char *s);

like, six little functions, all besties, all serving 🫢


πŸ’– DESCRIPTION πŸ’–

So what these do is get and set the names of extended boolean, numeric, and string capabilities. three flavors, one vibe. ✨

i is the index of the extended capability you're acting on β€” like, which one are we talking about, bestie. and it must be less than unibi_count_ext_bool(ut), unibi_count_ext_num(ut), or unibi_count_ext_str(ut), respectively. no off-by-one shenanigans, iykyk. πŸ’€

🚨 okay important, no cap: "unibi_set_ext_bool_name", "unibi_set_ext_num_name", and "unibi_set_ext_str_name" literally just store the pointer they're given. they will not free s and they will not make a copy of the string. it's giving borrowed pointer energy. so like, don't go freeing s and then wondering why everything's cursed 😭 that's a you problem, not a them problem.

πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page, bestie!! this was unibilium-2.1.4, dated 2026-09-07, and it's the unibi_set_ext_num_name(3) era β€” ate, no crumbs, periodt πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from