lib: force user to include `<babeltrace2/babeltrace.h>`
[babeltrace.git] / include / babeltrace2 / graph / graph.h
index 4b1909e83e5ced336593933dfba6fa0ddaf399de..4e85e4274c2571422d3c7dfacbe651e22573c086 100644 (file)
  * SOFTWARE.
  */
 
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 /*
  * For bt_bool, bt_component, bt_component_class,
  * bt_component_class_filter, bt_component_class_sink,
 /* 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
@@ -258,6 +257,4 @@ extern bt_graph_cancel_status bt_graph_cancel(bt_graph *graph);
 }
 #endif
 
-#include <babeltrace2/undef-func-status.h>
-
 #endif /* BABELTRACE2_GRAPH_GRAPH_H */
This page took 0.023063 seconds and 4 git commands to generate.