X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=python-plugin-provider%2Fpython-plugin-provider.c;h=f4747ef7e6972769abae94c6341ba4d4a3a1c8ae;hb=2d95225e39cde6999e67a74662b36c834191afd2;hp=1eb1fa34182d95c539b06797c7e8da39c7f1e053;hpb=8c6884d908cf7a7cf2340f3384441278635d19e1;p=babeltrace.git diff --git a/python-plugin-provider/python-plugin-provider.c b/python-plugin-provider/python-plugin-provider.c index 1eb1fa34..f4747ef7 100644 --- a/python-plugin-provider/python-plugin-provider.c +++ b/python-plugin-provider/python-plugin-provider.c @@ -157,9 +157,9 @@ void fini_python(void) { } static -const struct bt_plugin *bt_plugin_from_python_plugin_info(PyObject *plugin_info) +const bt_plugin *bt_plugin_from_python_plugin_info(PyObject *plugin_info) { - const struct bt_plugin *plugin = NULL; + const bt_plugin *plugin = NULL; PyObject *py_name = NULL; PyObject *py_author = NULL; PyObject *py_description = NULL; @@ -332,14 +332,14 @@ const struct bt_plugin *bt_plugin_from_python_plugin_info(PyObject *plugin_info) size_t i; for (i = 0; i < PyList_Size(py_comp_class_addrs); i++) { - struct bt_component_class *comp_class; + bt_component_class *comp_class; PyObject *py_comp_class_addr; py_comp_class_addr = PyList_GetItem(py_comp_class_addrs, i); BT_ASSERT(py_comp_class_addr); if (PyLong_Check(py_comp_class_addr)) { - comp_class = (struct bt_component_class *) + comp_class = (bt_component_class *) PyLong_AsUnsignedLongLong(py_comp_class_addr); } else { BT_LOGW("Component class address is not an integer in Python plugin info object: " @@ -387,10 +387,10 @@ end: } G_MODULE_EXPORT -struct bt_plugin_set *bt_plugin_python_create_all_from_file(const char *path) +bt_plugin_set *bt_plugin_python_create_all_from_file(const char *path) { - struct bt_plugin_set *plugin_set = NULL; - const struct bt_plugin *plugin = NULL; + bt_plugin_set *plugin_set = NULL; + const bt_plugin *plugin = NULL; PyObject *py_plugin_info = NULL; gchar *basename = NULL; size_t path_len;