common: introduce bt_g_array_index
[babeltrace.git] / src / lib / trace-ir / field-path.h
index fb07e11c313d191aeaadef7040184cf8e4482ef1..79e9d8f17b26d091ba2bea736191759afd7b9d2c 100644 (file)
@@ -37,7 +37,7 @@ struct bt_field_path_item *bt_field_path_borrow_item_by_index_inline(
 {
        BT_ASSERT_DBG(field_path);
        BT_ASSERT_DBG(index < field_path->items->len);
-       return &g_array_index(field_path->items, struct bt_field_path_item,
+       return &bt_g_array_index(field_path->items, struct bt_field_path_item,
                index);
 }
 
This page took 0.022943 seconds and 4 git commands to generate.