#include "common/common.h"
#include "lib/assert-pre.h"
#include "lib/assert-post.h"
#include "common/common.h"
#include "lib/assert-pre.h"
#include "lib/assert-post.h"
BT_ASSERT_PRE_NON_NULL(comp_cls, "Component class");
BT_ASSERT_PRE_NON_NULL(object, "Object");
BT_LIB_LOGD("Creating query executor: "
BT_ASSERT_PRE_NON_NULL(comp_cls, "Component class");
BT_ASSERT_PRE_NON_NULL(object, "Object");
BT_LIB_LOGD("Creating query executor: "
BT_ASSERT_PRE_NON_NULL(query_exec, "Query executor");
BT_ASSERT_PRE_NON_NULL(user_result, "Result (output)");
BT_ASSERT_PRE_NON_NULL(query_exec, "Query executor");
BT_ASSERT_PRE_NON_NULL(user_result, "Result (output)");
bt_common_func_status_string(query_status), *user_result);
BT_ASSERT_POST(query_status != BT_FUNC_STATUS_OK || *user_result,
"User method returned `BT_FUNC_STATUS_OK` without a result.");
bt_common_func_status_string(query_status), *user_result);
BT_ASSERT_POST(query_status != BT_FUNC_STATUS_OK || *user_result,
"User method returned `BT_FUNC_STATUS_OK` without a result.");
struct bt_query_executor *query_exec,
const struct bt_interrupter *intr)
{
struct bt_query_executor *query_exec,
const struct bt_interrupter *intr)
{
BT_ASSERT_PRE_NON_NULL(query_exec, "Query executor");
BT_ASSERT_PRE_NON_NULL(intr, "Interrupter");
g_ptr_array_add(query_exec->interrupters, (void *) intr);
BT_ASSERT_PRE_NON_NULL(query_exec, "Query executor");
BT_ASSERT_PRE_NON_NULL(intr, "Interrupter");
g_ptr_array_add(query_exec->interrupters, (void *) intr);