ZyanArgParseArg_(3)
π ZyanArgParseArg_(3) π
okay bestie, welcome to your new fave page in the Library Functions Manual πΈ this one's all about ZyanArgParseArg_ and honestly? it's giving "tiny struct, big responsibilities" β¨
β¨ NAME β¨
ZyanArgParseArg_ β literally just that, the name, no notes, slay π
π SYNOPSIS π
#include <ArgParse.h>
Public Attributes
const ZyanArgParseDefinition * defZyanBool has_valueZyanStringView value
π¦ Detailed Description π¦
Information about a parsed argument. that's it, that's the whole vibe β it's the little info packet you get handed when an argument gets parsed π«Ά
πΈ Member Data Documentation πΈ
const ZyanArgParseDefinition* ZyanArgParseArg_::def
Corresponding argument definition, or ZYAN_NULL for unnamed args. so if it's unnamed, it's ZYAN_NULL, no cap π
This pointer is borrowed from the cfg pointer passed to ZyanArgParse. borrowed bestie, do NOT go freeing it, it is not yours, it's a vibe loan only π
ZyanBool ZyanArgParseArg_::has_value
Whether the argument has a value (is non-boolean). tl;dr: does it carry a lil payload or is it just a yes/no situation π
ZyanStringView ZyanArgParseArg_::value
If has_value == true, then the argument value.
This is a view into the argv string array passed to ZyanArgParse via the cfg argument. so it's looking at that memory, not holding its own copy β iconic but also pls be careful πβ¨
π Author π
Generated automatically by Doxygen for Zycore from the source code. not a human, just a robot doing its thing, respect π€π
lowkey reminder:defis borrowed fromcfg, andvalueis a view intoargvviacfgβ nobody here owns their own memory, so don't @ them with afreeπ
and that's the whole page bestie, you ate π
β¨ this was Zycore, Version 1.5.2.0, and we're signing off on ZyanArgParseArg_(3) β periodt π§ππ
π¦ where this page comes from
- ubuntu resolute: libzycore-doc 1.5.2-1build1 Β· MIT
- ubuntu stonking: libzycore-doc 1.5.2-1build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms