projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: force user to include `<babeltrace2/babeltrace.h>`
[babeltrace.git]
/
include
/
babeltrace2
/
graph
/
component-class-sink.h
diff --git
a/include/babeltrace2/graph/component-class-sink.h
b/include/babeltrace2/graph/component-class-sink.h
index 80ee66c820bdc0b131e7362b04e2b7b74748dd88..48d647f50f87eaceda63ac9ad11b63caa0b4cc5d 100644
(file)
--- a/
include/babeltrace2/graph/component-class-sink.h
+++ b/
include/babeltrace2/graph/component-class-sink.h
@@
-24,6
+24,10
@@
* SOFTWARE.
*/
* SOFTWARE.
*/
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
#include <stdint.h>
/* For bt_component_class_*_status */
#include <stdint.h>
/* For bt_component_class_*_status */
@@
-40,11
+44,6
@@
/* For bt_logging_level */
#include <babeltrace2/logging.h>
/* For bt_logging_level */
#include <babeltrace2/logging.h>
-/* For __BT_FUNC_STATUS_* */
-#define __BT_FUNC_STATUS_ENABLE
-#include <babeltrace2/func-status.h>
-#undef __BT_FUNC_STATUS_ENABLE
-
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
@@
-139,6
+138,4
@@
bt_component_class_sink_set_query_method(
}
#endif
}
#endif
-#include <babeltrace2/undef-func-status.h>
-
#endif /* BABELTRACE2_GRAPH_COMPONENT_CLASS_SINK_H */
#endif /* BABELTRACE2_GRAPH_COMPONENT_CLASS_SINK_H */
This page took
0.023759 seconds
and
4
git commands to generate.