From 51f97fcc8c58d17aa224c150735f7e256e796f4e Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 23 Jul 2019 15:03:26 -0400 Subject: [PATCH] bt2: fix some whitespace issues Change-Id: Ic49586dd2e19ad175ad44190d519ce2e857605c1 Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/1747 Reviewed-by: Philippe Proulx --- src/bindings/python/bt2/bt2/native_bt_component_class.i | 6 +++--- src/bindings/python/bt2/bt2/native_bt_message_iterator.i | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bindings/python/bt2/bt2/native_bt_component_class.i b/src/bindings/python/bt2/bt2/native_bt_component_class.i index ed939937..c33b9caf 100644 --- a/src/bindings/python/bt2/bt2/native_bt_component_class.i +++ b/src/bindings/python/bt2/bt2/native_bt_component_class.i @@ -991,15 +991,15 @@ component_class_message_iterator_init( * * py_iter.__init__(self_output_port) * - * through the _init_for_native helper static method. + * through the _init_for_native helper static method. * * At this point, py_iter._ptr is set, so this initialization * function has access to self._component (which gives it the * user Python component object from which the iterator was * created). */ - py_component_port_output_ptr = SWIG_NewPointerObj( - SWIG_as_voidptr(self_component_port_output), + py_component_port_output_ptr = SWIG_NewPointerObj( + SWIG_as_voidptr(self_component_port_output), SWIGTYPE_p_bt_self_component_port_output, 0); if (!py_component_port_output_ptr) { const char *err = "Failed to create a SWIG pointer object."; diff --git a/src/bindings/python/bt2/bt2/native_bt_message_iterator.i b/src/bindings/python/bt2/bt2/native_bt_message_iterator.i index 71090069..eaae1ee7 100644 --- a/src/bindings/python/bt2/bt2/native_bt_message_iterator.i +++ b/src/bindings/python/bt2/bt2/native_bt_message_iterator.i @@ -116,7 +116,7 @@ static PyObject *bt_bt2_port_output_get_msg_range( %} PyObject *bt_bt2_get_user_component_from_user_msg_iter( - bt_self_message_iterator *self_message_iterator); + bt_self_message_iterator *self_message_iterator); PyObject *bt_bt2_self_component_port_input_get_msg_range( bt_self_component_port_input_message_iterator *iter); PyObject *bt_bt2_port_output_get_msg_range( -- 2.34.1