@bt_pre_not_null{self_component_port}
*/
extern bt_self_component *bt_self_component_port_borrow_component(
- bt_self_component_port *self_component_port);
+ bt_self_component_port *self_component_port) __BT_NOEXCEPT;
/*! @} */
@bt_pre_not_null{self_component_port}
*/
extern void *bt_self_component_port_get_data(
- const bt_self_component_port *self_component_port);
+ const bt_self_component_port *self_component_port)
+ __BT_NOEXCEPT;
/*! @} */
*/
static inline
const bt_port *bt_self_component_port_as_port(
- bt_self_component_port *self_component_port)
+ bt_self_component_port *self_component_port) __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_port, self_component_port);
}
static inline
const bt_port_input *bt_self_component_port_input_as_port_input(
const bt_self_component_port_input *self_component_port)
+ __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_port_input, self_component_port);
}
static inline
const bt_port_output *bt_self_component_port_output_as_port_output(
bt_self_component_port_output *self_component_port)
+ __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_port_output, self_component_port);
}
bt_self_component_port *
bt_self_component_port_input_as_self_component_port(
bt_self_component_port_input *self_component_port)
+ __BT_NOEXCEPT
{
return __BT_UPCAST(bt_self_component_port, self_component_port);
}
bt_self_component_port *
bt_self_component_port_output_as_self_component_port(
bt_self_component_port_output *self_component_port)
+ __BT_NOEXCEPT
{
return __BT_UPCAST(bt_self_component_port, self_component_port);
}