2 * SPDX-License-Identifier: MIT
4 * Copyright (c) 2017 Philippe Proulx <pproulx@efficios.com>
7 %include <babeltrace2/graph/component-class.h>
8 %include <babeltrace2/graph/component-class-dev.h>
9 %include <babeltrace2/graph/self-component-class.h>
12 #include "native_bt_component_class.i.h"
15 struct bt_component_class_source *bt_bt2_component_class_source_create(
16 PyObject *py_cls, const char *name, const char *description,
18 struct bt_component_class_filter *bt_bt2_component_class_filter_create(
19 PyObject *py_cls, const char *name, const char *description,
21 struct bt_component_class_sink *bt_bt2_component_class_sink_create(
22 PyObject *py_cls, const char *name, const char *description,
24 void bt_bt2_unregister_cc_ptr_to_py_cls(const bt_component_class *comp_cls);
25 bool bt_bt2_is_python_component_class(const bt_component_class *comp_cls);