|
static intptr_t | native_get (void *var) |
| Get an int from a Number config item.
|
|
static void | native_set (void *var, intptr_t val) |
| Set an int into a Number config item.
|
|
static void | native_toggle (void *var) |
| Toggle a Number config item.
|
|
static int | number_string_set (const struct ConfigSet *cs, void *var, struct ConfigDef *cdef, const char *value, struct Buffer *err) |
| Set a Number by string - Implements ConfigSetType::string_set() -.
|
|
static int | number_string_get (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, struct Buffer *result) |
| Get a Number as a string - Implements ConfigSetType::string_get() -.
|
|
static int | number_native_set (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
| Set a Number config item by int - Implements ConfigSetType::native_set() -.
|
|
static intptr_t | number_native_get (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, struct Buffer *err) |
| Get an int from a Number config item - Implements ConfigSetType::native_get() -.
|
|
static int | number_string_plus_equals (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, const char *value, struct Buffer *err) |
| Add to a Number by string - Implements ConfigSetType::string_plus_equals() -.
|
|
static int | number_string_minus_equals (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, const char *value, struct Buffer *err) |
| Subtract from a Number by string - Implements ConfigSetType::string_minus_equals() -.
|
|
static int | number_reset (const struct ConfigSet *cs, void *var, const struct ConfigDef *cdef, struct Buffer *err) |
| Reset a Number to its initial value - Implements ConfigSetType::reset() -.
|
|
int | number_he_toggle (struct ConfigSubset *sub, struct HashElem *he, struct Buffer *err) |
| Toggle the value of a number (value <-> 0)
|
|
Type representing a number.
- Authors
- Richard Russon
- Jakub Jindra
- Pietro Cerutti
- наб
- Copyright
- This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file number.c.