Re-format with clang-format 16
[babeltrace.git] / src / bindings / python / bt2 / bt2 / native_bt_mip.i.h
CommitLineData
f1f74173 1/*
0235b0db 2 * SPDX-License-Identifier: MIT
f1f74173
PP
3 *
4 * Copyright (c) 2017 Philippe Proulx <pproulx@efficios.com>
f1f74173
PP
5 */
6
ae2be88d
SM
7#ifndef BABELTRACE_BINDINGS_PYTHON_BT2_BT2_NATIVE_BT_MIP_I_H
8#define BABELTRACE_BINDINGS_PYTHON_BT2_BT2_NATIVE_BT_MIP_I_H
9
f1f74173
PP
10static
11bt_component_descriptor_set_add_descriptor_status
21a9f056 12bt_bt2_component_descriptor_set_add_descriptor_with_initialize_method_data(
f1f74173
PP
13 bt_component_descriptor_set *comp_descr_set,
14 const bt_component_class *comp_cls,
15 const bt_value *params, PyObject *obj)
16{
21a9f056 17 return bt_component_descriptor_set_add_descriptor_with_initialize_method_data(
f1f74173
PP
18 comp_descr_set, comp_cls, params, obj == Py_None ? NULL : obj);
19}
ae2be88d
SM
20
21#endif /* BABELTRACE_BINDINGS_PYTHON_BT2_BT2_NATIVE_BT_MIP_I_H */
This page took 0.071768 seconds and 5 git commands to generate.