X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fvalues.c;h=f75f008c6008d539eaaf7cd22d75338bc2a02236;hb=bc26fd5eb73f9335aed925b2756929d8d3b0147b;hp=5778528b4e0f3f1bdf9b60107dc63b85d0e418bd;hpb=7d5f7a9a3f914878c0ce78f299db1815a550b5d0;p=babeltrace.git diff --git a/lib/values.c b/lib/values.c index 5778528b..f75f008c 100644 --- a/lib/values.c +++ b/lib/values.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include #define BT_VALUE_FROM_CONCRETE(_concrete) ((struct bt_value *) (_concrete)) #define BT_VALUE_TO_BOOL(_base) ((struct bt_value_bool *) (_base)) @@ -606,7 +606,7 @@ struct bt_value *bt_value_array_create(void) } array_obj->base = bt_value_create_base(BT_VALUE_TYPE_ARRAY); - array_obj->garray = g_ptr_array_new_full(0, + array_obj->garray = babeltrace_g_ptr_array_new_full(0, (GDestroyNotify) bt_put); if (!array_obj->garray) { @@ -1028,7 +1028,7 @@ bool bt_value_map_has_key(const struct bt_value *map_obj, const char *key) } quark = g_quark_from_string(key); - ret = g_hash_table_contains(typed_map_obj->ght, + ret = babeltrace_g_hash_table_contains(typed_map_obj->ght, GUINT_TO_POINTER(quark)); end: