Remove specialized reference counting functions
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 15 Feb 2016 16:44:04 +0000 (11:44 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 May 2017 16:57:26 +0000 (12:57 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/babeltrace/plugin/component.h
include/babeltrace/plugin/notification/iterator.h
include/babeltrace/plugin/notification/notification.h
include/babeltrace/plugin/plugin-system.h

index 87dac51fde0333c78fd1413013c6f636025fe6e1..b019edbe3deac4115085ce45975fcc1d302a2b99 100644 (file)
@@ -110,25 +110,6 @@ extern enum bt_component_type bt_component_get_type(
 extern enum bt_component_status bt_component_set_error_stream(
                struct bt_component *component, FILE *error_stream);
 
-/**
- * Increments the reference count of \p component.
- *
- * @param component    Component of which to increment the reference count
- *
- * @see bt_component_put()
- */
-extern void bt_component_get(struct bt_component *component);
-
-/**
- * Decrements the reference count of \p component, destroying it when this
- * count reaches 0.
- *
- * @param component    Component of which to decrement the reference count
- *
- * @see bt_component_get()
- */
-extern void bt_component_put(struct bt_component *component);
-
 #ifdef __cplusplus
 }
 #endif
index c958c5827b3989f5db8e23385480592b3bb8aca5..7729cb5e723ff97cc3dc876e0752be2c705a9e2d 100644 (file)
@@ -80,7 +80,7 @@ enum bt_notification_iterator_seek_type {
  * @param iterator     Iterator instance
  * @returns            Returns a bt_notification instance
  *
- * @see bt_notification_put()
+ * @see bt_put()
  */
 extern struct bt_notification *bt_notification_iterator_get_notification(
                struct bt_notification_iterator *iterator);
index 3e3459b8b685d8c97fdf2a2691c2773c44fb4e97..7b661b78a6938a76cebc7d92ee9371c86621e721 100644 (file)
@@ -61,26 +61,6 @@ enum bt_notification_type {
 extern enum bt_notification_type bt_notification_get_type(
                struct bt_notification *notification);
 
-/**
- * Increments the reference count of \p notification.
- *
- * @param notification Notification of which to increment the reference count
- *
- * @see bt_notification_put()
- */
-extern void bt_notification_get(struct bt_notification *notification);
-
-/**
- * Decrements the reference count of \p notification, destroying it when this
- * count reaches 0.
- *
- * @param notification Notification of which to decrement the reference count
- *
- * @see bt_notification_get()
- */
-extern void bt_notification_put(
-               struct bt_notification *notification);
-
 #ifdef __cplusplus
 }
 #endif
index 44b79a192114c49e7468ed2dbd27cd4916819afe..1423f04f699d3526c6a42e3d134f7e8c4755b8a9 100644 (file)
@@ -228,7 +228,7 @@ bt_notification_iterator_set_private_data(
                struct bt_notification_iterator *iterator, void *data);
 
 /**
- * Gett an iterator's private data.
+ * Get an iterator's private data.
  *
  * @param iterator     Notification iterator instance
  * @returns            Iterator instance private data
This page took 0.026533 seconds and 4 git commands to generate.