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 structure types
[babeltrace.git]
/
include
/
babeltrace
/
graph
/
self-component-port-input.h
diff --git
a/include/babeltrace/graph/self-component-port-input.h
b/include/babeltrace/graph/self-component-port-input.h
index 2a55c6029650ef52c57f15f72dcbd410e8678190..ab8694b180dc793fa2a65750240aa5f35dad92a6 100644
(file)
--- a/
include/babeltrace/graph/self-component-port-input.h
+++ b/
include/babeltrace/graph/self-component-port-input.h
@@
-26,25
+26,27
@@
/* For enum bt_self_component_port_status */
#include <babeltrace/graph/self-component-port.h>
/* For enum bt_self_component_port_status */
#include <babeltrace/graph/self-component-port.h>
+/*
+ * For bt_port_input, bt_self_component_port,
+ * bt_self_component_port_input
+ */
+#include <babeltrace/types.h>
+
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
-struct bt_port_input;
-struct bt_self_component_port;
-struct bt_self_component_port_input;
-
static inline
static inline
-
struct
bt_self_component_port *
+bt_self_component_port *
bt_self_component_port_input_as_self_component_port(
bt_self_component_port_input_as_self_component_port(
-
struct
bt_self_component_port_input *self_component_port)
+ bt_self_component_port_input *self_component_port)
{
return (void *) self_component_port;
}
static inline
{
return (void *) self_component_port;
}
static inline
-const
struct
bt_port_input *bt_self_component_port_input_as_port_input(
- const
struct
bt_self_component_port_input *self_component_port)
+const bt_port_input *bt_self_component_port_input_as_port_input(
+ const bt_self_component_port_input *self_component_port)
{
return (const void *) self_component_port;
}
{
return (const void *) self_component_port;
}
This page took
0.027219 seconds
and
4
git commands to generate.