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-output.h
diff --git
a/include/babeltrace/graph/self-component-port-output.h
b/include/babeltrace/graph/self-component-port-output.h
index eaf5d9125c28602738a1405c9306284bd02e1e95..6fd4b138fb88b48ba5c796573d1e462b10087c6c 100644
(file)
--- a/
include/babeltrace/graph/self-component-port-output.h
+++ b/
include/babeltrace/graph/self-component-port-output.h
@@
-2,7
+2,7
@@
#define BABELTRACE_GRAPH_SELF_COMPONENT_PORT_OUTPUT_H
/*
#define BABELTRACE_GRAPH_SELF_COMPONENT_PORT_OUTPUT_H
/*
- * Copyright 2017 Philippe Proulx <pproulx@efficios.com>
+ * Copyright 2017
-2018
Philippe Proulx <pproulx@efficios.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@
-26,27
+26,29
@@
/* 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_output, bt_self_component_port,
+ * bt_self_component_port_output
+ */
+#include <babeltrace/types.h>
+
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
-struct bt_port_output;
-struct bt_self_component_port;
-struct bt_self_component_port_output;
-
static inline
static inline
-
struct
bt_self_component_port *
-bt_self_component_port_output_
borrow
_self_component_port(
-
struct
bt_self_component_port_output *self_component_port)
+bt_self_component_port *
+bt_self_component_port_output_
as
_self_component_port(
+ bt_self_component_port_output *self_component_port)
{
return (void *) self_component_port;
}
static inline
{
return (void *) self_component_port;
}
static inline
-
struct bt_port_output *bt_self_component_port_output_borrow
_port_output(
-
struct
bt_self_component_port_output *self_component_port)
+
const bt_port_output *bt_self_component_port_output_as
_port_output(
+ bt_self_component_port_output *self_component_port)
{
{
- return (void *) self_component_port;
+ return (
const
void *) self_component_port;
}
#ifdef __cplusplus
}
#ifdef __cplusplus
This page took
0.026919 seconds
and
4
git commands to generate.