X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fcomponent.h;h=e9ee509360c979336c1e5a6f22582cd313639529;hb=36712f1d9ad9269638e493ca36a50979fe4da989;hp=31fde560a59edb9fe0d83595e3f778b123ec8c18;hpb=6f79a7cf4f5f065267895765f2277c6a12437f37;p=babeltrace.git diff --git a/include/babeltrace/graph/component.h b/include/babeltrace/graph/component.h index 31fde560..e9ee5093 100644 --- a/include/babeltrace/graph/component.h +++ b/include/babeltrace/graph/component.h @@ -43,22 +43,6 @@ struct bt_component; struct bt_value; struct bt_port; -/** - * Create an instance of a component from a component class. - * - * @param component_class Component class of which to create an instance - * @param name Name of the new component instance, optional - * @param params A dictionary of component parameters - * @returns Returns a pointer to a new component instance - */ -extern struct bt_component *bt_component_create( - struct bt_component_class *component_class, const char *name, - struct bt_value *params); - -extern struct bt_component *bt_component_create_with_init_method_data( - struct bt_component_class *component_class, const char *name, - struct bt_value *params, void *init_method_data); - /** * Get component's name. *