Fix: src.ctf.lttng-live: emitting stream end msg with no stream
[babeltrace.git] / include / babeltrace2 / graph / self-component-class-filter.h
index 8a6d1228ce617e0e4f14765cacb2c1554cfd5d96..f2f96ceb6ba5ac23f04f35fe3c5deb73da724028 100644 (file)
@@ -2,8 +2,7 @@
 #define BABELTRACE2_GRAPH_SELF_COMPONENT_CLASS_FILTER_H
 
 /*
- * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
- * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
+ * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
@@ -43,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.023063 seconds and 4 git commands to generate.