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-class.h> |
6945df9a SM |
8 | |
9 | /* Helper functions for Python */ | |
10 | %{ | |
4212232c | 11 | #include "native_bt_trace_class.i.h" |
6945df9a SM |
12 | %} |
13 | ||
ee2cad25 SM |
14 | int bt_bt2_trace_class_add_destruction_listener( |
15 | bt_trace_class *trace_class, PyObject *py_callable, | |
2054a0d1 | 16 | bt_listener_id *id); |