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
index e70ebe69345e9d7c96217ba6c8a3e3b9c44e60c7..1ccf6c4abc1e48bcd12e07637feeb60070682a91 100644 (file)
 %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.023117 seconds and 4 git commands to generate.