static
bt_component_class_init_method_status src_init(
bt_self_component_source *self_comp,
+ bt_self_component_source_configuration *config,
const bt_value *params, void *init_method_data)
{
test_example_scenario(self_comp);
BT_ASSERT(comp_cls);
ret = bt_component_class_source_set_init_method(comp_cls, src_init);
BT_ASSERT(ret == 0);
- graph = bt_graph_create();
+ graph = bt_graph_create(0);
ret = bt_graph_add_source_component(graph, comp_cls, "src-comp",
NULL, BT_LOGGING_LEVEL_NONE, NULL);
BT_ASSERT(ret == 0);