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
/
value.h
diff --git
a/include/babeltrace2/value.h
b/include/babeltrace2/value.h
index b6a22562f525e8da539a9ec9a8fdf89626ce76cf..87190173b39e7dc16ab996f44f60cff1ded70e09 100644
(file)
--- a/
include/babeltrace2/value.h
+++ b/
include/babeltrace2/value.h
@@
-23,6
+23,10
@@
* SOFTWARE.
*/
* SOFTWARE.
*/
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
#include <stdint.h>
#include <stddef.h>
#include <stdint.h>
#include <stddef.h>
@@
-32,11
+36,6
@@
/* For bt_value_type */
#include <babeltrace2/value-const.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
#ifdef __cplusplus
extern "C" {
#endif
@@
-177,6
+176,4
@@
bt_value_map_insert_empty_map_entry(bt_value *map_obj, const char *key);
}
#endif
}
#endif
-#include <babeltrace2/undef-func-status.h>
-
#endif /* BABELTRACE2_VALUE_H */
#endif /* BABELTRACE2_VALUE_H */
This page took
0.042359 seconds
and
4
git commands to generate.