libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
Go to the source code of this file.
Data Structures | |
struct | GblCmdArg |
struct | GblCmdParserClass |
struct | GblCmdParser |
Macros | |
Type System | |
Type UUID and cast operators | |
#define | GBL_CMD_PARSER_TYPE |
#define | GBL_CMD_PARSER(self) |
#define | GBL_CMD_PARSER_CLASS(klass) |
#define | GBL_CMD_PARSER_GET_CLASS(self) |
Functions | |
GblType | GblCmdParser_type (void) |
Lifetime Management | |
Methods for controlling lifetime of a GblCmdParser | |
GblCmdParser * | GblCmdParser_create (void) |
GblRefCount | GblCmdParser_unref (GblCmdParser *pSelf) |
Modular command-line argument parser.
Definition in file gimbal_cmd_parser.h.
#define GBL_CMD_PARSER_TYPE |
Type UUID of GblCmdParser.
Definition at line 23 of file gimbal_cmd_parser.h.
#define GBL_CMD_PARSER | ( | self | ) |
Function-style GblInstance cast.
Definition at line 24 of file gimbal_cmd_parser.h.
#define GBL_CMD_PARSER_CLASS | ( | klass | ) |
Function-style GblClass cast.
Definition at line 25 of file gimbal_cmd_parser.h.
#define GBL_CMD_PARSER_GET_CLASS | ( | self | ) |
Get a GblCmdParserClass from GblInstance.
Definition at line 26 of file gimbal_cmd_parser.h.
GblType GblCmdParser_type | ( | void | ) |
Returns the GblType UUID associated with GblCmdParser.
GblCmdParser * GblCmdParser_create | ( | void | ) |
Creates a GblCmdParser object, initializes it, and returns a pointer to it.
GblRefCount GblCmdParser_unref | ( | GblCmdParser * | pSelf | ) |
Unreferences a GblCmdParser, destroying it if it's the last one, returning the remaining reference count.