projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: use powers of two for object type enumerators
[babeltrace.git]
/
include
/
babeltrace2
/
graph
/
port-const.h
diff --git
a/include/babeltrace2/graph/port-const.h
b/include/babeltrace2/graph/port-const.h
index 5b22b884fe7f28aa2cc7085edaeb3c6dde18caec..eda9ccb9acff0d48cec54053db0b83c1bdc5166d 100644
(file)
--- 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);
This page took
0.024819 seconds
and
4
git commands to generate.