Standardize *get_*_count() functions
[babeltrace.git] / lib / plugin / plugin.c
index 5f251030fd20b84c304b0aa52e9fd6fe602dba69..a55b9843a3a92fa40f298c5082745c3335b91fba 100644 (file)
@@ -81,9 +81,9 @@ void fini_python_plugin_provider(void) {
 #endif
 
 extern
-int bt_plugin_set_get_plugin_count(struct bt_plugin_set *plugin_set)
+int64_t bt_plugin_set_get_plugin_count(struct bt_plugin_set *plugin_set)
 {
-       int count = -1;
+       int64_t count = -1;
 
        if (!plugin_set) {
                goto end;
@@ -502,7 +502,7 @@ end:
        return status;
 }
 
-int bt_plugin_get_component_class_count(struct bt_plugin *plugin)
+int64_t bt_plugin_get_component_class_count(struct bt_plugin *plugin)
 {
        return plugin ? plugin->comp_classes->len : -1;
 }
This page took 0.0235 seconds and 4 git commands to generate.