X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=bindings%2Fpython%2Fpython-complements.h;h=0e787d62d81eb81e1552463a67214b78f68e6191;hp=43b77197c1c2cc434de5428cbd6d6c7714082bfe;hb=64f1ebe55dce682bca1349b038e07f546693fec9;hpb=ec8c88d7d67bfcd57d2a09a135edae4737f3f4d9 diff --git a/bindings/python/python-complements.h b/bindings/python/python-complements.h index 43b77197..0e787d62 100644 --- a/bindings/python/python-complements.h +++ b/bindings/python/python-complements.h @@ -61,7 +61,21 @@ struct definition_array *_bt_python_get_array_from_def( struct bt_definition *field); struct definition_sequence *_bt_python_get_sequence_from_def( struct bt_definition *field); +struct bt_declaration *_bt_python_get_array_element_declaration( + struct bt_declaration *field); +struct bt_declaration *_bt_python_get_sequence_element_declaration( + struct bt_declaration *field); +const char *_bt_python_get_array_string(struct bt_definition *field); +const char *_bt_python_get_sequence_string(struct bt_definition *field); /* ctf writer */ int _bt_python_field_integer_get_signedness(const struct bt_ctf_field *field); enum ctf_type_id _bt_python_get_field_type(const struct bt_ctf_field *field); + +/* iterator */ +struct bt_iter_pos *_bt_python_create_iter_pos(void); +struct bt_ctf_iter *_bt_python_ctf_iter_create_intersect( + struct bt_context *ctx, + struct bt_iter_pos *inter_begin_pos, + struct bt_iter_pos *inter_end_pos); +int _bt_python_has_intersection(struct bt_context *ctx);