ir: rename event-fields/event-types -> fields/field-types
[babeltrace.git] / tests / lib / test_bt_ctf_field_type_validation.c
index 0e8b07880c0df90c31a945380cb2668819cc455f..c626d4ba2ba4847bf15757a0fc8c03cc95661e5b 100644 (file)
@@ -19,7 +19,7 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#include <babeltrace/ctf-ir/event-types.h>
+#include <babeltrace/ctf-ir/field-types.h>
 #include <babeltrace/ctf-ir/field-path.h>
 #include <babeltrace/ctf-ir/event.h>
 #include <babeltrace/ctf-ir/stream-class.h>
@@ -1662,7 +1662,7 @@ int validate_field_path(struct bt_ctf_field_type *field_type,
                goto end;
        }
 
-       if (bt_ctf_field_path_get_root(field_path) != root) {
+       if (bt_ctf_field_path_get_root_scope(field_path) != root) {
                ret = -1;
                goto end;
        }
This page took 0.022948 seconds and 4 git commands to generate.