Reorder bt_component_status enum
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 Aug 2016 20:14:58 +0000 (16:14 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 May 2017 18:09:05 +0000 (14:09 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/babeltrace/plugin/component.h

index 5462b7b18d55dc5ff5ee201e2b157d0cbde387ab..9655c00d50bba0c1f85fff035883d9b08eeb8f46 100644 (file)
@@ -39,23 +39,18 @@ extern "C" {
  * Status code. Errors are always negative.
  */
 enum bt_component_status {
-       /** Memory allocation failure. */
-       BT_COMPONENT_STATUS_NOMEM =             -4,
-
-       /** Invalid arguments. */
-       BT_COMPONENT_STATUS_INVALID =           -3,
-
-       /** Unsupported component feature. */
-       BT_COMPONENT_STATUS_UNSUPPORTED =       -2,
-
+       /** No error, okay. */
+       BT_COMPONENT_STATUS_OK =                0,      
        /** General error. */
        BT_COMPONENT_STATUS_ERROR =             -1,
-
-       /** No error, okay. */
-       BT_COMPONENT_STATUS_OK =                0,
+       /** Unsupported component feature. */
+       BT_COMPONENT_STATUS_UNSUPPORTED =       -2,
+       /** Invalid arguments. */
+       BT_COMPONENT_STATUS_INVALID =           -3,
+       /** Memory allocation failure. */
+       BT_COMPONENT_STATUS_NOMEM =             -4,
 };
 
-
 struct bt_component;
 struct bt_value;
 
This page took 0.0264219999999999 seconds and 4 git commands to generate.