projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: src.ctf.lttng-live: emitting stream end msg with no stream
[babeltrace.git]
/
include
/
babeltrace2
/
graph
/
self-component-class-sink.h
diff --git
a/include/babeltrace2/graph/self-component-class-sink.h
b/include/babeltrace2/graph/self-component-class-sink.h
index e06c6b6f2b7095e0b5bf0be1e5361c53ea298653..00f6841c0b3f5d1ce198f01f3a1403822dd4fac4 100644
(file)
--- a/
include/babeltrace2/graph/self-component-class-sink.h
+++ b/
include/babeltrace2/graph/self-component-class-sink.h
@@
-2,8
+2,7
@@
#define BABELTRACE2_GRAPH_SELF_COMPONENT_CLASS_SINK_H
/*
#define BABELTRACE2_GRAPH_SELF_COMPONENT_CLASS_SINK_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
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@
-24,10
+23,10
@@
* SOFTWARE.
*/
* SOFTWARE.
*/
-/*
- * For bt_component_class_sink, bt_self_component_class_sink,
- * __BT_UPCAST_CONST
- */
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
#include <babeltrace2/types.h>
#ifdef __cplusplus
#include <babeltrace2/types.h>
#ifdef __cplusplus
@@
-42,6
+41,14
@@
bt_self_component_class_sink_as_component_class_sink(
return __BT_UPCAST_CONST(bt_component_class_sink, self_comp_cls_sink);
}
return __BT_UPCAST_CONST(bt_component_class_sink, self_comp_cls_sink);
}
+static inline
+bt_self_component_class*
+bt_self_component_class_sink_as_self_component_class(
+ bt_self_component_class_sink *self_comp_cls_sink)
+{
+ return __BT_UPCAST(bt_self_component_class, self_comp_cls_sink);
+}
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif
This page took
0.042695 seconds
and
4
git commands to generate.