Put Python plugin support in a separate shared object
[babeltrace.git] / include / babeltrace / babeltrace-internal.h
index 9a91ba46736128bae32bb13daa62963198a52147..535f99094970161856927d5adcd6d1fb7753cc0d 100644 (file)
 #include <stdint.h>
 #include <stdlib.h>
 #include <errno.h>
+#include <stdbool.h>
 #include <babeltrace/compat/string.h>
 
 #define PERROR_BUFLEN  200
 
-extern int babeltrace_verbose, babeltrace_debug;
+extern bool babeltrace_verbose, babeltrace_debug;
 
 #define printf_verbose(fmt, args...)                                   \
        do {                                                            \
@@ -179,6 +180,9 @@ extern int babeltrace_verbose, babeltrace_debug;
 #define BT_CTF_MAJOR   1
 #define BT_CTF_MINOR   8
 
+#define __STRINGIFY(x) #x
+#define TOSTRING(x)    __STRINGIFY(x)
+
 struct bt_trace_descriptor;
 struct trace_collection {
        GPtrArray *array;       /* struct bt_trace_descriptor */
This page took 0.023464 seconds and 4 git commands to generate.