Bindings: Python: Update pybind11

Updates to 3.0.1 and switches to smart_holder & native_enum.
This commit is contained in:
Thomas Stoddard
2025-11-24 11:56:09 -05:00
committed by Kyle Schwarz
parent 7b5b94d980
commit d328d314b6
24 changed files with 66 additions and 51 deletions
@@ -17,7 +17,7 @@ void init_tc10statusmessage(pybind11::module_& m) {
.value("SleepFailed", TC10SleepStatus::SleepFailed)
.value("SleepAborted", TC10SleepStatus::SleepAborted);
pybind11::class_<TC10StatusMessage, std::shared_ptr<TC10StatusMessage>, Message>(m, "TC10StatusMessage")
pybind11::classh<TC10StatusMessage, Message>(m, "TC10StatusMessage")
.def_readonly("wakeStatus", &TC10StatusMessage::wakeStatus)
.def_readonly("sleepStatus", &TC10StatusMessage::sleepStatus);
}