ir: split event files into event and event-class files
[babeltrace.git] / tests / lib / test_bt_ctf_field_type_validation.c
index 0e8b07880c0df90c31a945380cb2668819cc455f..a0fadef28267d39a6fcb99c1300781a1f7dde34c 100644 (file)
  * 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/event-class.h>
 #include <babeltrace/ctf-ir/stream-class.h>
 #include <babeltrace/ctf-ir/trace.h>
 #include <assert.h>
@@ -1662,7 +1663,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.034565 seconds and 4 git commands to generate.