Commit | Line | Data |
---|---|---|
ce4923b0 | 1 | /* |
0235b0db | 2 | * SPDX-License-Identifier: MIT |
ce4923b0 | 3 | * |
0235b0db | 4 | * Copyright (c) 2019 EfficiOS Inc. and Linux Foundation |
ce4923b0 SM |
5 | */ |
6 | ||
7 | /* | |
8 | * We include current-thread.h here, because for now, it only contains | |
9 | * error-related things. | |
10 | */ | |
43c59509 | 11 | %include <babeltrace2/error-reporting.h> |
ce4923b0 | 12 | |
5038e256 SM |
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); |