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 | ||
7 | static | |
8 | bt_query_executor *bt_bt2_query_executor_create( | |
9 | const bt_component_class *component_class, const char *object, | |
10 | const bt_value *params, PyObject *py_obj) | |
11 | { | |
12 | return bt_query_executor_create_with_method_data(component_class, | |
13 | object, params, py_obj == Py_None ? NULL : py_obj); | |
14 | } |