lib: rename transforming bt_X_borrow_Y() -> bt_X_as_Y()
[babeltrace.git] / include / babeltrace / graph / private-notification.h
index 60d3e3163eb9c54ead1928577120bf1fc6c2f542..3833d632db0354cfcc27d8329bddfe126ac59b0c 100644 (file)
@@ -32,8 +32,12 @@ extern "C" {
 struct bt_notification;
 struct bt_private_notification;
 
-extern struct bt_notification *bt_notification_borrow_from_private(
-               struct bt_private_notification *priv_notif);
+static inline
+struct bt_notification *bt_private_notification_as_notification(
+               struct bt_private_notification *notification)
+{
+       return (void *) notification;
+}
 
 #ifdef __cplusplus
 }
This page took 0.02384 seconds and 4 git commands to generate.