#include <stdbool.h>
#include <stdint.h>
-#include <babeltrace2/ctf-writer/event.h>
-#include <babeltrace2/ctf-writer/object.h>
-#include <babeltrace2/ctf-writer/trace.h>
-#include <babeltrace2/ctf-writer/utils.h>
+#include <babeltrace2-ctf-writer/event.h>
+#include <babeltrace2-ctf-writer/object.h>
+#include <babeltrace2-ctf-writer/trace.h>
+#include <babeltrace2-ctf-writer/utils.h>
#include "common/align.h"
#include "common/assert.h"
bt_ctf_field_type_structure_create();
struct bt_ctf_field_type *_uint64_t =
get_field_type(FIELD_TYPE_ALIAS_UINT64_T);
- struct bt_ctf_field_type *ts_begin_end_uint64_t;
+ struct bt_ctf_field_type *ts_begin_end_uint64_t = NULL;
if (!packet_context_type) {
BT_LOGE_STR("Cannot create empty structure field type.");
if (!ft_copy) {
BT_LOGE("Failed to copy integer field type: ft-addr=%p",
ft);
+ ret = -1;
+ goto end;
}
ret = bt_ctf_field_type_common_integer_set_mapped_clock_class_no_check_frozen(