projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bt2: move common internal functions to their own files
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
native_bt.i
diff --git
a/src/bindings/python/bt2/bt2/native_bt.i
b/src/bindings/python/bt2/bt2/native_bt.i
index 4f349f5c36e1e0b76c375e5978b8a7898af86a8a..6d9a3696c8045b86b75c1ea16e9d18b4f2869166 100644
(file)
--- a/
src/bindings/python/bt2/bt2/native_bt.i
+++ b/
src/bindings/python/bt2/bt2/native_bt.i
@@
-48,6
+48,10
@@
#include "common/assert.h"
#include "py-common/py-common.h"
#include "common/assert.h"
#include "py-common/py-common.h"
+
+/* Used by some interface files */
+#include "native_bt_bt2_objects.h"
+#include "native_bt_log_and_append_error.h"
%}
typedef int bt_bool;
%}
typedef int bt_bool;
@@
-182,6
+186,10
@@
typedef uint64_t bt_listener_id;
$result = $1;
}
$result = $1;
}
+/* Native part initialization and finalization */
+void bt_bt2_init_from_bt2(void);
+void bt_bt2_exit_handler(void);
+
/*
* Define `__BT_IN_BABELTRACE_H` to allow specific headers to be
* included. This remains defined as long as we don't include the main
/*
* Define `__BT_IN_BABELTRACE_H` to allow specific headers to be
* included. This remains defined as long as we don't include the main
This page took
0.024101 seconds
and
4
git commands to generate.