diff options
| author | Andrei Belov <defan@nginx.com> | 2019-11-14 19:29:00 +0300 |
|---|---|---|
| committer | Andrei Belov <defan@nginx.com> | 2019-11-14 19:29:00 +0300 |
| commit | 7630539c44fcb188bba03a65af34e952a81f2f38 (patch) | |
| tree | 2c80f0cd315cae8079a39ba98ed89e02b5e1931a /src/nxt_conf.c | |
| parent | 70c9f18b6e8b25850bce8eb1edba4d100c3e55d2 (diff) | |
| parent | 0a27f137de776925a24406cf6961c550824c63a0 (diff) | |
| download | unit-1.13.0-1.tar.gz unit-1.13.0-1.tar.bz2 | |
Merged with the default branch.1.13.0-1
Diffstat (limited to '')
| -rw-r--r-- | src/nxt_conf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nxt_conf.c b/src/nxt_conf.c index 59eddd77..43820d2a 100644 --- a/src/nxt_conf.c +++ b/src/nxt_conf.c @@ -228,6 +228,13 @@ nxt_conf_get_integer(nxt_conf_value_t *value) } +uint8_t +nxt_conf_get_boolean(nxt_conf_value_t *value) +{ + return value->u.boolean; +} + + nxt_uint_t nxt_conf_object_members_count(nxt_conf_value_t *value) { |
