projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib-logging-internal.h: fix minor documentation mistakes
[babeltrace.git]
/
include
/
babeltrace
/
graph
/
port-input-const.h
diff --git
a/include/babeltrace/graph/port-input-const.h
b/include/babeltrace/graph/port-input-const.h
index 1f13de9dd10a3a6b6b3732272ea8fc2ae3cc2087..c98972e803238565a7e39944c0ae7e2e7f0d1e59 100644
(file)
--- a/
include/babeltrace/graph/port-input-const.h
+++ b/
include/babeltrace/graph/port-input-const.h
@@
-24,25
+24,24
@@
* SOFTWARE.
*/
* SOFTWARE.
*/
+/* For bt_port, bt_port_input */
+#include <babeltrace/types.h>
+
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
-struct bt_port;
-struct bt_port_input;
-
static inline
static inline
-const struct bt_port *bt_port_input_as_port_const(
- const struct bt_port_input *port_input)
+const bt_port *bt_port_input_as_port_const(const bt_port_input *port_input)
{
return (const void *) port_input;
}
{
return (const void *) port_input;
}
-extern void bt_port_input_get_ref(const
struct
bt_port_input *port_input);
+extern void bt_port_input_get_ref(const bt_port_input *port_input);
-extern void bt_port_input_put_ref(const
struct
bt_port_input *port_input);
+extern void bt_port_input_put_ref(const bt_port_input *port_input);
#define BT_PORT_INPUT_PUT_REF_AND_RESET(_var) \
do { \
#define BT_PORT_INPUT_PUT_REF_AND_RESET(_var) \
do { \
This page took
0.023832 seconds
and
4
git commands to generate.