projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: add aliases for Babeltrace enumeration types
[babeltrace.git]
/
include
/
babeltrace
/
graph
/
port-const.h
diff --git
a/include/babeltrace/graph/port-const.h
b/include/babeltrace/graph/port-const.h
index cb290cdbb999dd17ca48d59c4db3a84f186c3936..fdc0cd696897de3c0a9978e38beb8ee714808911 100644
(file)
--- a/
include/babeltrace/graph/port-const.h
+++ b/
include/babeltrace/graph/port-const.h
@@
-33,14
+33,14
@@
extern "C" {
#endif
extern "C" {
#endif
-enum bt_port_type {
+
typedef
enum bt_port_type {
BT_PORT_TYPE_INPUT = 0,
BT_PORT_TYPE_OUTPUT = 1,
BT_PORT_TYPE_INPUT = 0,
BT_PORT_TYPE_OUTPUT = 1,
-};
+}
bt_port_type
;
extern const char *bt_port_get_name(const bt_port *port);
extern const char *bt_port_get_name(const bt_port *port);
-extern
enum
bt_port_type bt_port_get_type(const bt_port *port);
+extern bt_port_type bt_port_get_type(const bt_port *port);
extern const bt_connection *bt_port_borrow_connection_const(
const bt_port *port);
extern const bt_connection *bt_port_borrow_connection_const(
const bt_port *port);
This page took
0.024587 seconds
and
4
git commands to generate.