|
YAC 3.21.0
Yet Another Coupler
|
#include "param.h"

Go to the source code of this file.
Functions | |
| struct yac_param * | yac_param_bool_new (const char *name, int *value_ptr, int default_value, int has_default, int is_defined) |
| Create a bool parameter (backed by int) | |
| struct yac_param * yac_param_bool_new | ( | const char * | name, |
| int * | value_ptr, | ||
| int | default_value, | ||
| int | has_default, | ||
| int | is_defined ) |
Create a bool parameter (backed by int)
| name | Name of the parameter (copied internally, may be NULL for unnamed) |
| value_ptr | Pointer to the int value (0 = false, 1 = true) |
| default_value | Default value (0 or 1, ignored if has_default is false) |
| has_default | If true, parameter has a default value; if false, value is undefined until set |
| is_defined | If true, initial value is considered defined (0 or 1); if false, initial value is considered undefined and user must set it before getting |
Definition at line 159 of file param_bool.c.
