X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fevent-types-internal.h;h=1dea88d0b0327ae392767793575ec8b6922ba682;hb=61cf588beae752e5ddfc60b6b5310f769ac9e852;hp=3adae33118f7d4f89d63b3758ef430178e316c9f;hpb=32fe3f28047342b3b0ad04ce0c03bfb97e11127f;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/event-types-internal.h b/include/babeltrace/ctf-ir/event-types-internal.h index 3adae331..1dea88d0 100644 --- a/include/babeltrace/ctf-ir/event-types-internal.h +++ b/include/babeltrace/ctf-ir/event-types-internal.h @@ -31,8 +31,8 @@ #include #include #include -#include #include +#include #include #include #include @@ -62,7 +62,7 @@ struct bt_ctf_field_path { }; 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; @@ -238,4 +238,12 @@ int bt_ctf_field_type_variant_set_field_index( 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 */