if (!event_class || !payload ||
bt_ctf_field_type_get_type_id(payload) !=
- BT_CTF_TYPE_ID_STRUCT) {
+ CTF_TYPE_STRUCT) {
ret = -1;
goto end;
}
}
if (bt_ctf_field_type_get_type_id(event_class->fields) !=
- BT_CTF_TYPE_ID_STRUCT) {
+ CTF_TYPE_STRUCT) {
ret = -1;
goto end;
}
}
if (bt_ctf_field_type_get_type_id(event_class->fields) !=
- BT_CTF_TYPE_ID_STRUCT) {
+ CTF_TYPE_STRUCT) {
ret = -1;
goto end;
}
}
if (bt_ctf_field_type_get_type_id(event_class->fields) !=
- BT_CTF_TYPE_ID_STRUCT) {
+ CTF_TYPE_STRUCT) {
ret = -1;
goto end;
}
}
if (bt_ctf_field_type_get_type_id(event_class->fields) !=
- BT_CTF_TYPE_ID_STRUCT) {
+ CTF_TYPE_STRUCT) {
goto end;
}
goto end;
}
- if (bt_ctf_field_type_get_type_id(context) != BT_CTF_TYPE_ID_STRUCT) {
+ if (bt_ctf_field_type_get_type_id(context) != CTF_TYPE_STRUCT) {
ret = -1;
goto end;
}