Commit | Line | Data |
---|---|---|
6945df9a | 1 | /* |
0235b0db | 2 | * SPDX-License-Identifier: MIT |
6945df9a SM |
3 | * |
4 | * Copyright (c) 2017 Philippe Proulx <pproulx@efficios.com> | |
6945df9a SM |
5 | */ |
6 | ||
d24d5663 | 7 | %include <babeltrace2/graph/component-class.h> |
43c59509 PP |
8 | %include <babeltrace2/graph/component-class-dev.h> |
9 | %include <babeltrace2/graph/self-component-class.h> | |
6945df9a SM |
10 | |
11 | %{ | |
4212232c | 12 | #include "native_bt_component_class.i.h" |
6945df9a SM |
13 | %} |
14 | ||
d24d5663 | 15 | struct bt_component_class_source *bt_bt2_component_class_source_create( |
6945df9a SM |
16 | PyObject *py_cls, const char *name, const char *description, |
17 | const char *help); | |
d24d5663 | 18 | struct bt_component_class_filter *bt_bt2_component_class_filter_create( |
6945df9a SM |
19 | PyObject *py_cls, const char *name, const char *description, |
20 | const char *help); | |
d24d5663 | 21 | struct bt_component_class_sink *bt_bt2_component_class_sink_create( |
6945df9a SM |
22 | PyObject *py_cls, const char *name, const char *description, |
23 | const char *help); | |
ab1cea3f | 24 | void bt_bt2_unregister_cc_ptr_to_py_cls(const bt_component_class *comp_cls); |
66964f3f | 25 | bool bt_bt2_is_python_component_class(const bt_component_class *comp_cls); |