From d58ba27a0c0b3ab46e8bc40a1e571a5af16fb651 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 25 Jun 2019 13:19:02 -0400 Subject: [PATCH] lib: rename parameter of bt_self_component_filter_add_{in,out}put_port This makes is consistent with corresponding functions for sources and sinks. It will help for a future patch that will re-work the SWIG bindings to have the same name everywhere (to apply the same typemap to all of these). Change-Id: Icdeb32711e56d4b6a619a493a8b64817f3084bd5 Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/1534 Tested-by: jenkins Reviewed-by: Philippe Proulx --- include/babeltrace2/graph/self-component-filter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/babeltrace2/graph/self-component-filter.h b/include/babeltrace2/graph/self-component-filter.h index 1f25d8a1..7d646b5a 100644 --- a/include/babeltrace2/graph/self-component-filter.h +++ b/include/babeltrace2/graph/self-component-filter.h @@ -68,7 +68,7 @@ bt_self_component_filter_borrow_output_port_by_index( extern bt_self_component_status bt_self_component_filter_add_output_port( bt_self_component_filter *self_component, - const char *name, void *data, + const char *name, void *user_data, bt_self_component_port_output **self_component_port); extern bt_self_component_port_input * @@ -84,7 +84,7 @@ bt_self_component_filter_borrow_input_port_by_index( extern bt_self_component_status bt_self_component_filter_add_input_port( bt_self_component_filter *self_component, - const char *name, void *data, + const char *name, void *user_data, bt_self_component_port_input **self_component_port); #ifdef __cplusplus -- 2.34.1