Clarify bt_component_destroy_cb semantics
[babeltrace.git] / include / babeltrace / plugin / plugin-system.h
index d3fe33290b2dc8c069aca3a57521247358db1e77..618e3eca3f8a678477913f9e026c883caffe3b5c 100644 (file)
@@ -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.
This page took 0.024673 seconds and 4 git commands to generate.