lib: add aliases for Babeltrace enumeration types
[babeltrace.git] / include / babeltrace / graph / graph-const.h
index 1ce433ea3b50d24e72ba16005934563d4d463455..a8c5a5148b83e157341b09ac31bf98fe855907e2 100644 (file)
@@ -31,7 +31,7 @@
 extern "C" {
 #endif
 
-enum bt_graph_status {
+typedef enum bt_graph_status {
        BT_GRAPH_STATUS_OK = 0,
        BT_GRAPH_STATUS_END = 1,
        BT_GRAPH_STATUS_AGAIN = 11,
@@ -40,7 +40,7 @@ enum bt_graph_status {
        BT_GRAPH_STATUS_ERROR = -1,
        BT_GRAPH_STATUS_NO_SINK = -6,
        BT_GRAPH_STATUS_NOMEM = -12,
-};
+} bt_graph_status;
 
 extern bt_bool bt_graph_is_canceled(const bt_graph *graph);
 
This page took 0.023681 seconds and 4 git commands to generate.