projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: headers: make static inline upcasts compatible with C++
[babeltrace.git]
/
include
/
babeltrace
/
graph
/
self-component-port-input-message-iterator.h
diff --git
a/include/babeltrace/graph/self-component-port-input-message-iterator.h
b/include/babeltrace/graph/self-component-port-input-message-iterator.h
index 61fd2b21acafb50e63ba928b289afc3a51ff5373..1efefe13565d757b9fe575f91bc70438b927c563 100644
(file)
--- a/
include/babeltrace/graph/self-component-port-input-message-iterator.h
+++ b/
include/babeltrace/graph/self-component-port-input-message-iterator.h
@@
-31,7
+31,8
@@
/*
* For bt_component, bt_message_iterator,
* bt_self_component_port_input_message_iterator,
/*
* For bt_component, bt_message_iterator,
* bt_self_component_port_input_message_iterator,
- * bt_self_component_port_input, bt_message_array_const, bt_bool
+ * bt_self_component_port_input, bt_message_array_const, bt_bool,
+ * __BT_UPCAST
*/
#include <babeltrace/types.h>
*/
#include <babeltrace/types.h>
@@
-44,7
+45,7
@@
bt_message_iterator *
bt_self_component_port_input_message_iterator_as_message_iterator(
bt_self_component_port_input_message_iterator *iterator)
{
bt_self_component_port_input_message_iterator_as_message_iterator(
bt_self_component_port_input_message_iterator *iterator)
{
- return
(void *) iterator
;
+ return
__BT_UPCAST(bt_message_iterator, iterator)
;
}
extern bt_self_component_port_input_message_iterator *
}
extern bt_self_component_port_input_message_iterator *
This page took
0.022665 seconds
and
4
git commands to generate.