diff options
author | Valentin Bartenev <vbart@nginx.com> | 2020-03-30 19:37:58 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2020-03-30 19:37:58 +0300 |
commit | 68c6b67ffc840c78eddd27a65e9bf1370aaf5631 (patch) | |
tree | e53b36a7d4f40976daf52fe7c644c2d311bbb83b /src/nxt_conf.h | |
parent | 0935630cba069d6619e967404bb6c7c2a93fbe7e (diff) | |
download | unit-68c6b67ffc840c78eddd27a65e9bf1370aaf5631.tar.gz unit-68c6b67ffc840c78eddd27a65e9bf1370aaf5631.tar.bz2 |
Configuration: support for rational numbers.
Diffstat (limited to 'src/nxt_conf.h')
-rw-r--r-- | src/nxt_conf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_conf.h b/src/nxt_conf.h index 66201fee..201a3a14 100644 --- a/src/nxt_conf.h +++ b/src/nxt_conf.h @@ -114,7 +114,7 @@ NXT_EXPORT void nxt_conf_get_string(nxt_conf_value_t *value, nxt_str_t *str); NXT_EXPORT void nxt_conf_set_string(nxt_conf_value_t *value, nxt_str_t *str); NXT_EXPORT nxt_int_t nxt_conf_set_string_dup(nxt_conf_value_t *value, nxt_mp_t *mp, nxt_str_t *str); -NXT_EXPORT int64_t nxt_conf_get_integer(nxt_conf_value_t *value); +NXT_EXPORT double nxt_conf_get_number(nxt_conf_value_t *value); NXT_EXPORT uint8_t nxt_conf_get_boolean(nxt_conf_value_t *value); // FIXME reimplement and reorder functions below |