lib: add internal object pool API and use it; adapt plugins/tests
[babeltrace.git] / include / babeltrace / ctf-ir / clock-value.h
index 706e36dfb7bfb98d4c1c5fce6f9988b9e42002b5..9fb152e8f7904cc6bb8700ddac47e3782fd8914d 100644 (file)
@@ -43,8 +43,6 @@ extern "C" {
 struct bt_clock_class;
 struct bt_clock_value;
 
 struct bt_clock_class;
 struct bt_clock_value;
 
-extern struct bt_clock_value *bt_clock_value_create(
-               struct bt_clock_class *clock_class, uint64_t value);
 extern struct bt_clock_class *bt_clock_value_borrow_class(
                struct bt_clock_value *clock_value);
 
 extern struct bt_clock_class *bt_clock_value_borrow_class(
                struct bt_clock_value *clock_value);
 
@@ -55,6 +53,8 @@ struct bt_clock_class *bt_clock_value_get_class(
        return bt_get(bt_clock_value_borrow_class(clock_value));
 }
 
        return bt_get(bt_clock_value_borrow_class(clock_value));
 }
 
+extern int bt_clock_value_set_value(
+               struct bt_clock_value *clock_value, uint64_t raw_value);
 extern int bt_clock_value_get_value(
                struct bt_clock_value *clock_value, uint64_t *raw_value);
 extern int bt_clock_value_get_value_ns_from_epoch(
 extern int bt_clock_value_get_value(
                struct bt_clock_value *clock_value, uint64_t *raw_value);
 extern int bt_clock_value_get_value_ns_from_epoch(
This page took 0.024609 seconds and 4 git commands to generate.