lib: graph: add "self" and some "private" APIs
[babeltrace.git] / include / babeltrace / private-values.h
index f94f27a0e9c9b37d020c4d520fd7d37b97823780..b747b3d769455a9c12376c5c1d501c0c50d4d8e2 100644 (file)
@@ -39,12 +39,15 @@ 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);
 
-
 extern struct bt_private_value *bt_private_value_bool_create_init(bt_bool val);
 
 extern void bt_private_value_bool_set(struct bt_private_value *bool_obj,
This page took 0.028176 seconds and 4 git commands to generate.