{
enum bt_value_status ret = BT_VALUE_STATUS_OK;
gpointer key, element_obj;
{
enum bt_value_status ret = BT_VALUE_STATUS_OK;
gpointer key, element_obj;
struct bt_value_map *typed_map_obj = BT_VALUE_TO_MAP(map_obj);
BT_ASSERT_PRE_NON_NULL(map_obj, "Value object");
struct bt_value_map *typed_map_obj = BT_VALUE_TO_MAP(map_obj);
BT_ASSERT_PRE_NON_NULL(map_obj, "Value object");
BT_ASSERT_PRE_VALUE_IS_TYPE(map_obj, BT_VALUE_TYPE_MAP);
g_hash_table_iter_init(&iter, typed_map_obj->ght);
while (g_hash_table_iter_next(&iter, &key, &element_obj)) {
const char *key_str = g_quark_to_string(GPOINTER_TO_UINT(key));
BT_ASSERT_PRE_VALUE_IS_TYPE(map_obj, BT_VALUE_TYPE_MAP);
g_hash_table_iter_init(&iter, typed_map_obj->ght);
while (g_hash_table_iter_next(&iter, &key, &element_obj)) {
const char *key_str = g_quark_to_string(GPOINTER_TO_UINT(key));
BT_LOGV("User canceled the loop: key=\"%s\", "
"value-addr=%p, data=%p",
key_str, element_obj, data);
BT_LOGV("User canceled the loop: key=\"%s\", "
"value-addr=%p, data=%p",
key_str, element_obj, data);
enum bt_value_status bt_value_map_foreach_entry_const(
const struct bt_value *map_obj,
enum bt_value_status bt_value_map_foreach_entry_const(
const struct bt_value *map_obj,