common: introduce bt_g_array_index
[babeltrace.git] / src / ctf-writer / field-path.c
index 2d71d79f46b50752456da8d7f8ad832b05b2f37f..7689a6d8f842a9f7a9e51e808989a5e40dd3919d 100644 (file)
@@ -147,7 +147,7 @@ int bt_ctf_field_path_get_index(const struct bt_ctf_field_path *field_path,
                goto end;
        }
 
-       ret = g_array_index(field_path->indexes, int, index);
+       ret = bt_g_array_index(field_path->indexes, int, index);
 
 end:
        return ret;
This page took 0.027652 seconds and 4 git commands to generate.