Commit | Line | Data |
---|---|---|
6945df9a | 1 | /* |
0235b0db | 2 | * SPDX-License-Identifier: MIT |
6945df9a SM |
3 | * |
4 | * Copyright (c) 2016 Philippe Proulx <pproulx@efficios.com> | |
6945df9a SM |
5 | */ |
6 | ||
d6bb425c | 7 | %include <babeltrace2/trace-ir/trace.h> |
6945df9a SM |
8 | |
9 | %{ | |
4212232c | 10 | #include "native_bt_trace.i.h" |
6945df9a SM |
11 | %} |
12 | ||
ee2cad25 | 13 | int bt_bt2_trace_add_destruction_listener(bt_trace *trace, |
2054a0d1 | 14 | PyObject *py_callable, bt_listener_id *id); |