X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fgraph%2Fport-const.h;h=eda9ccb9acff0d48cec54053db0b83c1bdc5166d;hb=5d2d8d1848c049f98c4b163944b5a45128044ca1;hp=5b22b884fe7f28aa2cc7085edaeb3c6dde18caec;hpb=8bc207afcf9695b096a0a8e8405f06b6328f069b;p=babeltrace.git diff --git a/include/babeltrace2/graph/port-const.h b/include/babeltrace2/graph/port-const.h index 5b22b884..eda9ccb9 100644 --- a/include/babeltrace2/graph/port-const.h +++ b/include/babeltrace2/graph/port-const.h @@ -36,8 +36,8 @@ extern "C" { #endif typedef enum bt_port_type { - BT_PORT_TYPE_INPUT = 0, - BT_PORT_TYPE_OUTPUT = 1, + BT_PORT_TYPE_INPUT = 1 << 0, + BT_PORT_TYPE_OUTPUT = 1 << 1, } bt_port_type; extern const char *bt_port_get_name(const bt_port *port);