projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: bt_graph_create(): accept MIP version
[babeltrace.git]
/
include
/
babeltrace2
/
graph
/
self-component.h
diff --git
a/include/babeltrace2/graph/self-component.h
b/include/babeltrace2/graph/self-component.h
index 898c0d9a03933026e77162e4b725e8b2c3c50c8a..ba722d9813cfd95e6e87c5899b5cfa507e9250e1 100644
(file)
--- a/
include/babeltrace2/graph/self-component.h
+++ b/
include/babeltrace2/graph/self-component.h
@@
-1,8
+1,8
@@
-#ifndef BABELTRACE_GRAPH_SELF_COMPONENT_H
-#define BABELTRACE_GRAPH_SELF_COMPONENT_H
+#ifndef BABELTRACE
2
_GRAPH_SELF_COMPONENT_H
+#define BABELTRACE
2
_GRAPH_SELF_COMPONENT_H
/*
/*
- * Copyright
2017-2018 Philippe Proulx <pproulx@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
@@
-23,13
+23,11
@@
* SOFTWARE.
*/
* SOFTWARE.
*/
-/* For bt_component, bt_self_component, __BT_UPCAST */
-#include <babeltrace2/types.h>
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
-/* For __BT_FUNC_STATUS_* */
-#define __BT_FUNC_STATUS_ENABLE
-#include <babeltrace2/func-status.h>
-#undef __BT_FUNC_STATUS_ENABLE
+#include <babeltrace2/types.h>
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
@@
-48,6
+46,9
@@
const bt_component *bt_self_component_as_component(
return __BT_UPCAST(bt_component, self_component);
}
return __BT_UPCAST(bt_component, self_component);
}
+extern
+uint64_t bt_self_component_get_graph_mip_version(bt_self_component *self_component);
+
extern void *bt_self_component_get_data(
const bt_self_component *self_component);
extern void *bt_self_component_get_data(
const bt_self_component *self_component);
@@
-58,6
+59,4
@@
extern void bt_self_component_set_data(
}
#endif
}
#endif
-#include <babeltrace2/undef-func-status.h>
-
-#endif /* BABELTRACE_GRAPH_SELF_COMPONENT_H */
+#endif /* BABELTRACE2_GRAPH_SELF_COMPONENT_H */
This page took
0.023973 seconds
and
4
git commands to generate.