Loading...
Searching...
No Matches
python.h
1
5#pragma once
6
7#include <memory>
8
9namespace ucxx {
10
11namespace utils {
12
13/*
14 * @brief Check whether Python support is available.
15 *
16 * Check that binary was built with Python support and `libucxx_python.so` is in the
17 * library path. The check is done by attempting to `dlopen` the library, returning whether
18 * both conditions are met.
19 *
20 * @returns whether Python support is available.
21 */
22[[nodiscard]] bool isPythonAvailable();
23
24} // namespace utils
25
26} // namespace ucxx
Definition address.h:16