lib: rename parameter of bt_self_component_filter_add_{in,out}put_port
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 25 Jun 2019 17:19:02 +0000 (13:19 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 25 Jun 2019 20:43:25 +0000 (16:43 -0400)
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 <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1534
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
include/babeltrace2/graph/self-component-filter.h

index 1f25d8a15894d4dc97ba5c7835e2265327f9b9d7..7d646b5af0560d3050f64e42bbe05ef5e28e864f 100644 (file)
@@ -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
This page took 0.024901 seconds and 4 git commands to generate.