lib: add aliases for Babeltrace enumeration types
[babeltrace.git] / include / babeltrace / trace-ir / stream-const.h
index 0edbdac1e3231b2e3482636e6443b6c05b1db633..875b9ddfae7b79fd154ba598588ddfc81246c226 100644 (file)
 extern "C" {
 #endif
 
-enum bt_stream_status {
+typedef enum bt_stream_status {
        BT_STREAM_STATUS_OK = 0,
        BT_STREAM_STATUS_NOMEM = -12,
-};
+} bt_stream_status;
 
 extern const bt_stream_class *bt_stream_borrow_class_const(
                const bt_stream *stream);
This page took 0.026285 seconds and 4 git commands to generate.