lib: graph: add "self" and some "private" APIs
[babeltrace.git] / include / babeltrace / private-values.h
index 8563e31dfad15aa1b434afa7ea43dab021c2ef08..b747b3d769455a9c12376c5c1d501c0c50d4d8e2 100644 (file)
@@ -39,8 +39,12 @@ struct bt_private_value;
 
 extern struct bt_private_value *bt_private_value_null;
 
-extern struct bt_value *bt_value_borrow_from_private(
-               struct bt_private_value *priv_value);
+static inline
+struct bt_value *bt_private_value_borrow_value(
+               struct bt_private_value *priv_value)
+{
+       return (void *) priv_value;
+}
 
 extern struct bt_private_value *bt_private_value_bool_create(void);
 
This page took 0.023843 seconds and 4 git commands to generate.