int64_t *OUTPUT);
int bt_ctf_clock_class_set_offset_cycles(struct bt_ctf_clock_class *clock_class,
int64_t offset);
-int bt_ctf_clock_class_get_is_absolute(struct bt_ctf_clock_class *clock_class);
+int bt_ctf_clock_class_is_absolute(struct bt_ctf_clock_class *clock_class);
int bt_ctf_clock_class_set_is_absolute(struct bt_ctf_clock_class *clock_class,
int is_absolute);
BTUUID bt_ctf_clock_class_get_uuid(struct bt_ctf_clock_class *clock_class);
struct bt_ctf_clock_class *clock_class, int64_t *cycles);
extern int bt_ctf_clock_class_set_offset_cycles(
struct bt_ctf_clock_class *clock_class, int64_t cycles);
-extern int bt_ctf_clock_class_get_is_absolute(
+extern int bt_ctf_clock_class_is_absolute(
struct bt_ctf_clock_class *clock_class);
extern int bt_ctf_clock_class_set_is_absolute(
struct bt_ctf_clock_class *clock_class, int is_absolute);
return ret;
}
-int bt_ctf_clock_class_get_is_absolute(struct bt_ctf_clock_class *clock_class)
+int bt_ctf_clock_class_is_absolute(struct bt_ctf_clock_class *clock_class)
{
int ret = -1;
int is_absolute = -1;
if (clock) {
- is_absolute = bt_ctf_clock_class_get_is_absolute(
+ is_absolute = bt_ctf_clock_class_is_absolute(
clock->clock_class);
}
goto end_destroy;
}
- int_ret = bt_ctf_clock_class_get_is_absolute(clock_class);
+ int_ret = bt_ctf_clock_class_is_absolute(clock_class);
if (int_ret == -1) {
fprintf(err, "[error] %s in %s:%d\n", __func__, __FILE__,
__LINE__);
goto error;
}
- if (!bt_ctf_clock_class_get_is_absolute(clock_class)) {
+ if (!bt_ctf_clock_class_is_absolute(clock_class)) {
// TODO: Allow this with an explicit parameter
goto error;
}