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

Go to the source code of this file.
Functions | |
| struct yac_param * | yac_param_int_new (const char *name, int *value_ptr, int default_value, int value_min, int value_max, int has_default, int is_defined) |
| Create an int parameter. | |
| struct yac_param * yac_param_int_new | ( | const char * | name, |
| int * | value_ptr, | ||
| int | default_value, | ||
| int | value_min, | ||
| int | value_max, | ||
| int | has_default, | ||
| int | is_defined ) |
Create an int parameter.
| name | Name of the parameter (copied internally, may be NULL for unnamed) |
| value_ptr | Pointer to the int value |
| default_value | Default value (ignored if has_default is false) |
| value_min | Minimum allowed value (inclusive) |
| value_max | Maximum allowed value (inclusive) |
| 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; if false, initial value is considered undefined and user must set it before getting |
Definition at line 157 of file param_int.c.
