bt2: report errors from Python component and component class callbacks
[babeltrace.git] / include / babeltrace2 / graph / self-component-class-filter.h
index 0b9a70396cecfdfd7fa1a8eee896ea608e9957a2..f2f96ceb6ba5ac23f04f35fe3c5deb73da724028 100644 (file)
@@ -42,6 +42,14 @@ bt_self_component_class_filter_as_component_class_filter(
                self_comp_cls_filter);
 }
 
+static inline
+bt_self_component_class*
+bt_self_component_class_filter_as_self_component_class(
+               bt_self_component_class_filter *self_comp_cls_filter)
+{
+       return __BT_UPCAST(bt_self_component_class, self_comp_cls_filter);
+}
+
 #ifdef __cplusplus
 }
 #endif
This page took 0.024169 seconds and 4 git commands to generate.