lib: force user to include `<babeltrace2/babeltrace.h>`
[babeltrace.git] / include / babeltrace2 / value.h
index b6a22562f525e8da539a9ec9a8fdf89626ce76cf..87190173b39e7dc16ab996f44f60cff1ded70e09 100644 (file)
  * SOFTWARE.
  */
 
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #include <stdint.h>
 #include <stddef.h>
 
 /* For bt_value_type */
 #include <babeltrace2/value-const.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
@@ -177,6 +176,4 @@ bt_value_map_insert_empty_map_entry(bt_value *map_obj, const char *key);
 }
 #endif
 
-#include <babeltrace2/undef-func-status.h>
-
 #endif /* BABELTRACE2_VALUE_H */
This page took 0.023887 seconds and 4 git commands to generate.