summaryrefslogtreecommitdiffstats
path: root/contrib/libucl/src/ucl_internal.h
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-03-02 21:41:09 +0000
committerbapt <bapt@FreeBSD.org>2015-03-02 21:41:09 +0000
commitb350eee701186419446d61fe9cf3de36016de0f2 (patch)
tree4daea009d89b8a9d256f54572707642911add5c0 /contrib/libucl/src/ucl_internal.h
parent8dc95f1ef3391ce2b99f9ee21f9c726ed536598a (diff)
parent7678f812c1d8bea1cf36871abe8ab1e7ec6912fd (diff)
downloadFreeBSD-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.h11
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);
OpenPOWER on IntegriCloud