Package: glib
Macro glib:with-option-context
Lambda Listglib:with-option-context ((context &rest args) &body body) Syntax(g:with-option-context (context) body) => result (g:with-option-context (context parameter) body) => result Argumentscontext -- a g:option-context instance to create and initialize parameter -- an optional string which is displayed in the first line of --help output Details The g:with-option-context macro allocates a new g:option-context instance, initializes the option context with the optional parameter value and executes the body that uses the context.
After execution of the body the allocated memory for the option context is released. See the documentation of the g:option-context-new function
for more information about the initialization of the new option context. | See also |
2024-11-19