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-source.h
diff --git
a/include/babeltrace2/graph/self-component-class-source.h
b/include/babeltrace2/graph/self-component-class-source.h
index 6d4dd082f3e8756ff355ed9b8b8a29af8e86fc43..fb025f0c752f23e571765f6ed2bcd7b4d83cec0a 100644
(file)
--- a/
include/babeltrace2/graph/self-component-class-source.h
+++ b/
include/babeltrace2/graph/self-component-class-source.h
@@
-2,8
+2,7
@@
#define BABELTRACE2_GRAPH_SELF_COMPONENT_CLASS_SOURCE_H
/*
#define BABELTRACE2_GRAPH_SELF_COMPONENT_CLASS_SOURCE_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
@@
-28,10
+27,6
@@
# error "Please include <babeltrace2/babeltrace.h> instead."
#endif
# error "Please include <babeltrace2/babeltrace.h> instead."
#endif
-/*
- * For bt_component_class_source, bt_self_component_class_source,
- * __BT_UPCAST_CONST
- */
#include <babeltrace2/types.h>
#ifdef __cplusplus
#include <babeltrace2/types.h>
#ifdef __cplusplus
@@
-47,6
+42,14
@@
bt_self_component_class_source_as_component_class_source(
self_comp_cls_source);
}
self_comp_cls_source);
}
+static inline
+bt_self_component_class*
+bt_self_component_class_source_as_self_component_class(
+ bt_self_component_class_source *self_comp_cls_source)
+{
+ return __BT_UPCAST(bt_self_component_class, self_comp_cls_source);
+}
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif
This page took
0.024504 seconds
and
4
git commands to generate.