lib: add aliases for Babeltrace enumeration types
[babeltrace.git] / include / babeltrace / trace-ir / clock-class-const.h
index f7afc24802b491d4e19628571b296da6dc2cfd4c..d609770d1a4652eb1333cca2d14c87c5963521f3 100644 (file)
 extern "C" {
 #endif
 
-enum bt_clock_class_status {
+typedef enum bt_clock_class_status {
        BT_CLOCK_CLASS_STATUS_OK = 0,
        BT_CLOCK_CLASS_STATUS_NOMEM = -12,
        BT_CLOCK_CLASS_STATUS_OVERFLOW = -75,
-};
+} bt_clock_class_status;
 
 extern const char *bt_clock_class_get_name(
                const bt_clock_class *clock_class);
@@ -63,7 +63,7 @@ extern bt_bool bt_clock_class_is_absolute(
 extern bt_uuid bt_clock_class_get_uuid(
                const bt_clock_class *clock_class);
 
-extern enum bt_clock_class_status bt_clock_class_cycles_to_ns_from_origin(
+extern bt_clock_class_status bt_clock_class_cycles_to_ns_from_origin(
                const bt_clock_class *clock_class,
                uint64_t cycles, int64_t *ns_from_origin);
 
This page took 0.023306 seconds and 4 git commands to generate.