Move to kernel style SPDX license identifiers
[babeltrace.git] / src / bindings / python / bt2 / bt2 / native_bt_component_class.i
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright (c) 2017 Philippe Proulx <pproulx@efficios.com>
5 */
6
7 %include <babeltrace2/graph/component-class.h>
8 %include <babeltrace2/graph/component-class-dev.h>
9 %include <babeltrace2/graph/self-component-class.h>
10
11 %{
12 #include "native_bt_component_class.i.h"
13 %}
14
15 struct bt_component_class_source *bt_bt2_component_class_source_create(
16 PyObject *py_cls, const char *name, const char *description,
17 const char *help);
18 struct bt_component_class_filter *bt_bt2_component_class_filter_create(
19 PyObject *py_cls, const char *name, const char *description,
20 const char *help);
21 struct bt_component_class_sink *bt_bt2_component_class_sink_create(
22 PyObject *py_cls, const char *name, const char *description,
23 const char *help);
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);
This page took 0.029795 seconds and 4 git commands to generate.