| 13 | namespace aimrt::runtime::python_runtime { |
| 14 | |
| 15 | inline void ExportCoreOptions(pybind11::object m) { |
| 16 | using aimrt::runtime::core::AimRTCore; |
| 17 | |
| 18 | pybind11::class_<AimRTCore::Options>(std::move(m), "CoreOptions") |
| 19 | .def(pybind11::init<>()) |
| 20 | .def_readwrite("cfg_file_path", &AimRTCore::Options::cfg_file_path); |
| 21 | } |
| 22 | |
| 23 | inline void PyCoreStart(aimrt::runtime::core::AimRTCore& core) { |
| 24 | // Release GIL before blocking |