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
/
component-class-const.h
diff --git
a/include/babeltrace2/graph/component-class-const.h
b/include/babeltrace2/graph/component-class-const.h
index f265929a502ff9bbd50daad3113390da528690cb..da46d290cbfa6eaac47920bcbf0348eaea1e9234 100644
(file)
--- 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 {
#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(
} bt_component_class_type;
extern const char *bt_component_class_get_name(
This page took
0.027544 seconds
and
4
git commands to generate.