Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * SPDX-License-Identifier: MIT | |
3 | * | |
4 | * Copyright (c) 2016 Philippe Proulx <pproulx@efficios.com> | |
5 | */ | |
6 | ||
7 | %include <babeltrace2/trace-ir/trace-class.h> | |
8 | ||
9 | /* Helper functions for Python */ | |
10 | %{ | |
11 | #include "native_bt_trace_class.i.h" | |
12 | %} | |
13 | ||
14 | int bt_bt2_trace_class_add_destruction_listener( | |
15 | bt_trace_class *trace_class, PyObject *py_callable, | |
16 | bt_listener_id *id); |