projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bt2: use format_bt_error and format_bt_error_cause to generate _Error and _ErrorCause...
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
native_bt_error.i
diff --git
a/src/bindings/python/bt2/bt2/native_bt_error.i
b/src/bindings/python/bt2/bt2/native_bt_error.i
index e70ebe69345e9d7c96217ba6c8a3e3b9c44e60c7..1ccf6c4abc1e48bcd12e07637feeb60070682a91 100644
(file)
--- a/
src/bindings/python/bt2/bt2/native_bt_error.i
+++ b/
src/bindings/python/bt2/bt2/native_bt_error.i
@@
-29,3
+29,12
@@
%include <babeltrace2/error-const.h>
%include <babeltrace2/error-cause-const.h>
%include <babeltrace2/error-const.h>
%include <babeltrace2/error-cause-const.h>
+%{
+#include "native_bt_error.i.h"
+%}
+
+static
+PyObject *bt_bt2_format_bt_error_cause(const bt_error_cause *error_cause);
+
+static
+PyObject *bt_bt2_format_bt_error(const bt_error *error);
This page took
0.026893 seconds
and
4
git commands to generate.