X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fgraph%2Fcomponent-class-const.h;h=da46d290cbfa6eaac47920bcbf0348eaea1e9234;hb=5d2d8d1848c049f98c4b163944b5a45128044ca1;hp=f265929a502ff9bbd50daad3113390da528690cb;hpb=8bc207afcf9695b096a0a8e8405f06b6328f069b;p=babeltrace.git diff --git a/include/babeltrace2/graph/component-class-const.h b/include/babeltrace2/graph/component-class-const.h index f265929a..da46d290 100644 --- a/include/babeltrace2/graph/component-class-const.h +++ b/include/babeltrace2/graph/component-class-const.h @@ -34,9 +34,9 @@ extern "C" { #endif typedef enum bt_component_class_type { - BT_COMPONENT_CLASS_TYPE_SOURCE = 0, - BT_COMPONENT_CLASS_TYPE_FILTER = 1, - BT_COMPONENT_CLASS_TYPE_SINK = 2, + BT_COMPONENT_CLASS_TYPE_SOURCE = 1 << 0, + BT_COMPONENT_CLASS_TYPE_FILTER = 1 << 1, + BT_COMPONENT_CLASS_TYPE_SINK = 1 << 2, } bt_component_class_type; extern const char *bt_component_class_get_name(