Commit | Line | Data |
---|---|---|
7c14d641 | 1 | /* |
0235b0db | 2 | * SPDX-License-Identifier: MIT |
7c14d641 PP |
3 | * |
4 | * Copyright (c) 2017 Philippe Proulx <pproulx@efficios.com> | |
7c14d641 PP |
5 | */ |
6 | ||
ae2be88d SM |
7 | #ifndef BABELTRACE_BINDINGS_PYTHON_BT2_BT2_NATIVE_BT_QUERY_EXEC_I_H |
8 | #define BABELTRACE_BINDINGS_PYTHON_BT2_BT2_NATIVE_BT_QUERY_EXEC_I_H | |
9 | ||
7c14d641 PP |
10 | static |
11 | bt_query_executor *bt_bt2_query_executor_create( | |
12 | const bt_component_class *component_class, const char *object, | |
13 | const bt_value *params, PyObject *py_obj) | |
14 | { | |
15 | return bt_query_executor_create_with_method_data(component_class, | |
16 | object, params, py_obj == Py_None ? NULL : py_obj); | |
17 | } | |
ae2be88d SM |
18 | |
19 | #endif /* BABELTRACE_BINDINGS_PYTHON_BT2_BT2_NATIVE_BT_QUERY_EXEC_I_H */ |