lib: pass config objects to component init methods
[babeltrace.git] / tests / lib / test_graph_topo.c
index 5efffde951a5254091072e451b3ef5b2cbfcd027..3689a75baf45ba5872e5ecc89fc12c8c1322f13f 100644 (file)
@@ -295,6 +295,7 @@ bt_component_class_port_connected_method_status sink_input_port_connected(
 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)
 {
        int ret;
@@ -308,6 +309,7 @@ bt_component_class_init_method_status src_init(
 static
 bt_component_class_init_method_status sink_init(
        bt_self_component_sink *self_comp,
+       bt_self_component_sink_configuration *config,
        const bt_value *params, void *init_method_data)
 {
        int ret;
@@ -449,7 +451,7 @@ const bt_component_sink *create_sink(bt_graph *graph)
 static
 bt_graph *create_graph(void)
 {
-       bt_graph *graph = bt_graph_create();
+       bt_graph *graph = bt_graph_create(0);
        int ret;
 
        BT_ASSERT(graph);
This page took 0.023459 seconds and 4 git commands to generate.