X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=bindings%2Fpython%2Fpython-complements.h;h=c5e93eec4e800b1b1468f1e28d92de29f29bc8ca;hb=3c2ce778cc0d5e5be91e2fd1d176365a2ad65aa3;hp=9597d7053a3cd6423717b13dc62739f85f730fb9;hpb=92c6a024cd3e81293bd39fd2b322e12ce57ea502;p=babeltrace.git diff --git a/bindings/python/python-complements.h b/bindings/python/python-complements.h index 9597d705..c5e93eec 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,7 @@ 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);