BT_GRAPH_STATUS_CANCELED is not an error, thus use a positive value
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 13 May 2017 00:33:32 +0000 (20:33 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:42 +0000 (12:57 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/babeltrace/graph/graph.h

index b89aaa82b57d03b28c13318707cc4f78aacfd452..594db3e8494a3c3720d854e17a041ef6cc333ba4 100644 (file)
@@ -38,6 +38,8 @@ struct bt_port;
 struct bt_connection;
 
 enum bt_graph_status {
+       /** Canceled. */
+       BT_GRAPH_STATUS_CANCELED = 125,
        /** No sink can consume at the moment. */
        BT_GRAPH_STATUS_AGAIN = 11,
        /** Downstream component does not support multiple inputs. */
@@ -51,8 +53,6 @@ enum bt_graph_status {
        BT_GRAPH_STATUS_NO_SINK = -6,
        /** General error. */
        BT_GRAPH_STATUS_ERROR = -1,
-       /** Canceled. */
-       BT_GRAPH_STATUS_CANCELED = -125,
 };
 
 typedef void (*bt_graph_port_added_listener)(struct bt_port *port,
This page took 0.024763 seconds and 4 git commands to generate.