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-dev.h
diff --git
a/include/babeltrace2/plugin/plugin-dev.h
b/include/babeltrace2/plugin/plugin-dev.h
index b50a6cc18c4ee425fe35bba8db108929a26e3b2c..e2b03be09434678f946c6ed34ae2aafbb5d017bf 100644
(file)
--- a/
include/babeltrace2/plugin/plugin-dev.h
+++ b/
include/babeltrace2/plugin/plugin-dev.h
@@
-27,6
+27,10
@@
* SOFTWARE.
*/
* SOFTWARE.
*/
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
#include <stdint.h>
/* For bt_component_class_type */
#include <stdint.h>
/* For bt_component_class_type */
@@
-40,11
+44,6
@@
/* For bt_self_plugin */
#include <babeltrace2/types.h>
/* For bt_self_plugin */
#include <babeltrace2/types.h>
-/* For __BT_FUNC_STATUS_* */
-#define __BT_FUNC_STATUS_ENABLE
-#include <babeltrace2/func-status.h>
-#undef __BT_FUNC_STATUS_ENABLE
-
/*
* _BT_HIDDEN: set the hidden attribute for internal functions
* On Windows, symbols are local unless explicitly exported,
/*
* _BT_HIDDEN: set the hidden attribute for internal functions
* On Windows, symbols are local unless explicitly exported,
@@
-1479,6
+1478,4
@@
struct __bt_plugin_component_class_descriptor_attribute const * const *__bt_get_
}
#endif
}
#endif
-#include <babeltrace2/undef-func-status.h>
-
#endif /* BABELTRACE2_PLUGIN_PLUGIN_DEV_H */
#endif /* BABELTRACE2_PLUGIN_PLUGIN_DEV_H */
This page took
0.024517 seconds
and
4
git commands to generate.