X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=bindings%2Fpython%2Fpython-complements.c;h=aa65555eaa8f4f1c440b2534b31cc377544bff50;hp=a4ee37e23262f4c014527061a4016d0ea2d059f0;hb=2c0df20434631335fda4b58ea531632c20b349a3;hpb=92c6a024cd3e81293bd39fd2b322e12ce57ea502 diff --git a/bindings/python/python-complements.c b/bindings/python/python-complements.c index a4ee37e2..aa65555e 100644 --- a/bindings/python/python-complements.c +++ b/bindings/python/python-complements.c @@ -44,16 +44,16 @@ 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) + const struct bt_definition *scope) { - struct definition **list; + struct bt_definition **list; unsigned int count; int ret; ret = bt_ctf_get_field_list(ctf_event, scope, - (const struct definition * const **)&list, &count); + (const struct bt_definition * const **)&list, &count); if (ret < 0) /* For python to know an error occured */ list = NULL; @@ -63,8 +63,8 @@ struct definition **_bt_python_field_listcaller( return list; } -struct definition *_bt_python_field_one_from_list( - struct definition **list, int index) +struct bt_definition *_bt_python_field_one_from_list( + struct bt_definition **list, int index) { return list[index]; }