Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * SPDX-License-Identifier: MIT | |
3 | * | |
4 | * Copyright (c) 2019 EfficiOS Inc. and Linux Foundation | |
5 | */ | |
6 | ||
7 | /* | |
8 | * We include current-thread.h here, because for now, it only contains | |
9 | * error-related things. | |
10 | */ | |
11 | %include <babeltrace2/error-reporting.h> | |
12 | ||
13 | %{ | |
14 | #include "native_bt_error.i.h" | |
15 | %} | |
16 | ||
17 | static | |
18 | PyObject *bt_bt2_format_bt_error_cause(const bt_error_cause *error_cause); | |
19 | ||
20 | static | |
21 | PyObject *bt_bt2_format_bt_error(const bt_error *error); |