#include <babeltrace/ctf-writer/event-fields.h>
#include <babeltrace/ctf-writer/writer.h>
#include <babeltrace/ctf-ir/trace-internal.h>
-#include <babeltrace/ctf-ir/common-internal.h>
#include <babeltrace/babeltrace-internal.h>
+#include <babeltrace/object-internal.h>
#include <babeltrace/types.h>
#include <babeltrace/ctf/events.h>
#include <glib.h>
};
struct bt_ctf_field_type {
- struct bt_ctf_base base;
+ struct bt_object base;
struct bt_declaration *declaration;
type_freeze_func freeze;
type_serialize_func serialize;
struct bt_ctf_field_type *variant,
struct bt_ctf_field_type *field, int index);
+BT_HIDDEN
+int bt_ctf_field_type_array_set_element_type(struct bt_ctf_field_type *array,
+ struct bt_ctf_field_type *element_type);
+
+BT_HIDDEN
+int bt_ctf_field_type_sequence_set_element_type(struct bt_ctf_field_type *array,
+ struct bt_ctf_field_type *element_type);
+
#endif /* BABELTRACE_CTF_IR_EVENT_TYPES_INTERNAL_H */