diff options
author | bapt <bapt@FreeBSD.org> | 2015-03-02 21:41:09 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-03-02 21:41:09 +0000 |
commit | b350eee701186419446d61fe9cf3de36016de0f2 (patch) | |
tree | 4daea009d89b8a9d256f54572707642911add5c0 /contrib/libucl/src/ucl_internal.h | |
parent | 8dc95f1ef3391ce2b99f9ee21f9c726ed536598a (diff) | |
parent | 7678f812c1d8bea1cf36871abe8ab1e7ec6912fd (diff) | |
download | FreeBSD-src-b350eee701186419446d61fe9cf3de36016de0f2.zip FreeBSD-src-b350eee701186419446d61fe9cf3de36016de0f2.tar.gz |
Update libucl to git version 8d3b186
Diffstat (limited to 'contrib/libucl/src/ucl_internal.h')
-rw-r--r-- | contrib/libucl/src/ucl_internal.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/contrib/libucl/src/ucl_internal.h b/contrib/libucl/src/ucl_internal.h index 2f75872..bdbe691 100644 --- a/contrib/libucl/src/ucl_internal.h +++ b/contrib/libucl/src/ucl_internal.h @@ -339,14 +339,17 @@ ucl_hash_search_obj (ucl_hash_t* hashlin, ucl_object_t *obj) return (const ucl_object_t *)ucl_hash_search (hashlin, obj->key, obj->keylen); } -static inline ucl_hash_t * -ucl_hash_insert_object (ucl_hash_t *hashlin, const ucl_object_t *obj) UCL_WARN_UNUSED_RESULT; +static inline ucl_hash_t * ucl_hash_insert_object (ucl_hash_t *hashlin, + const ucl_object_t *obj, + bool ignore_case) UCL_WARN_UNUSED_RESULT; static inline ucl_hash_t * -ucl_hash_insert_object (ucl_hash_t *hashlin, const ucl_object_t *obj) +ucl_hash_insert_object (ucl_hash_t *hashlin, + const ucl_object_t *obj, + bool ignore_case) { if (hashlin == NULL) { - hashlin = ucl_hash_create (); + hashlin = ucl_hash_create (ignore_case); } ucl_hash_insert (hashlin, obj, obj->key, obj->keylen); |