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
/
plugin
/
plugin-const.h
diff --git
a/include/babeltrace2/plugin/plugin-const.h
b/include/babeltrace2/plugin/plugin-const.h
index 034fb5431564dd4e7ba0649de00c70e48223196e..df82ddc029895705227110af8a3fbd382c9e6025 100644
(file)
--- a/
include/babeltrace2/plugin/plugin-const.h
+++ b/
include/babeltrace2/plugin/plugin-const.h
@@
-26,6
+26,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>
@@
-39,11
+43,6
@@
/* For bt_property_availability */
#include <babeltrace2/property.h>
/* For bt_property_availability */
#include <babeltrace2/property.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
@@
-162,6
+161,4
@@
extern void bt_plugin_put_ref(const bt_plugin *plugin);
}
#endif
}
#endif
-#include <babeltrace2/undef-func-status.h>
-
#endif /* BABELTRACE2_PLUGIN_PLUGIN_CONST_H */
#endif /* BABELTRACE2_PLUGIN_PLUGIN_CONST_H */
This page took
0.024808 seconds
and
4
git commands to generate.