X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fplugin%2Fcomponent-factory-internal.h;h=9cb07ec22f526ea79ed3e809f49f1fc728768773;hb=38b48196e2b127cceb022056bb22a15086644e10;hp=d2f14478d9672d5907342f9938205549dcf8df04;hpb=fc11e32c19c33b4aaf901055b49005fb19a6400e;p=babeltrace.git diff --git a/include/babeltrace/plugin/component-factory-internal.h b/include/babeltrace/plugin/component-factory-internal.h index d2f14478..9cb07ec2 100644 --- a/include/babeltrace/plugin/component-factory-internal.h +++ b/include/babeltrace/plugin/component-factory-internal.h @@ -38,10 +38,10 @@ struct bt_component_factory { struct bt_object base; - /** Array of pointers to struct bt_plugin */ - GPtrArray *plugins; /** Array of pointers to struct bt_component_class */ GPtrArray *component_classes; + /* Plug-in currently registering component classes. Weak ref. */ + struct bt_plugin *current_plugin; }; #endif /* BABELTRACE_PLUGIN_COMPONENT_FACTORY_INTERNAL_H */