From: Simon Marchi Date: Tue, 25 Jun 2019 17:19:02 +0000 (-0400) Subject: lib: rename parameter of bt_self_component_filter_add_{in,out}put_port X-Git-Tag: v2.0.0-rc1~639 X-Git-Url: https://git.efficios.com/?a=commitdiff_plain;h=d58ba27a0c0b3ab46e8bc40a1e571a5af16fb651;p=babeltrace.git 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 --- 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