X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bindings%2Fpython%2Fpython-complements.h;h=eb778f55bbda977b1d2029912fe74569540242ff;hb=e5a73b906c4ef25a05f56dd41d61e58fb73254e5;hp=9597d7053a3cd6423717b13dc62739f85f730fb9;hpb=24a3136a3837ee43162b1393827faa938f0789eb;p=babeltrace.git diff --git a/bindings/python/python-complements.h b/bindings/python/python-complements.h index 9597d705..eb778f55 100644 --- a/bindings/python/python-complements.h +++ b/bindings/python/python-complements.h @@ -32,11 +32,11 @@ FILE *_bt_file_open(char *file_path, char *mode); void _bt_file_close(FILE *fp); /* ctf-field-list */ -struct definition **_bt_python_field_listcaller( +struct bt_definition **_bt_python_field_listcaller( const struct bt_ctf_event *ctf_event, - const struct definition *scope); -struct definition *_bt_python_field_one_from_list( - struct definition **list, int index); + const struct bt_definition *scope); +struct bt_definition *_bt_python_field_one_from_list( + struct bt_definition **list, int index); /* event_decl_list */ struct bt_ctf_event_decl **_bt_python_event_decl_listcaller( @@ -50,3 +50,9 @@ struct bt_ctf_field_decl **_by_python_field_decl_listcaller( enum bt_ctf_scope scope); struct bt_ctf_field_decl *_bt_python_field_decl_one_from_list( struct bt_ctf_field_decl **list, int index); + +/* definitions */ +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);