From: Jérémie Galarneau Date: Thu, 25 Feb 2016 17:26:26 +0000 (-0500) Subject: Clarify bt_component_destroy_cb semantics X-Git-Tag: v2.0.0-pre1~820 X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=e4b7cc023bdeeee43f092baaf1693296fa5ed6b1;p=babeltrace.git Clarify bt_component_destroy_cb semantics Signed-off-by: Jérémie Galarneau --- diff --git a/include/babeltrace/plugin/plugin-system.h b/include/babeltrace/plugin/plugin-system.h index d3fe3329..618e3eca 100644 --- a/include/babeltrace/plugin/plugin-system.h +++ b/include/babeltrace/plugin/plugin-system.h @@ -49,9 +49,9 @@ typedef void (*bt_plugin_exit_func)(void); /** * Component private data deallocation function type. * - * @param component Component instance + * @param data Component private data */ -typedef void (*bt_component_destroy_cb)(struct bt_component *component); +typedef void (*bt_component_destroy_cb)(void *data); /** * Component initialization function type.