Bindings: Python: Migrate to smart_holder

This commit is contained in:
Kyle Schwarz
2025-12-09 14:24:40 -05:00
parent 579160f6d4
commit dbab92b25c
13 changed files with 34 additions and 36 deletions
@@ -16,7 +16,7 @@ struct DeviceSettingsNamespace {
};
void init_idevicesettings(pybind11::module_& m) {
pybind11::class_<DeviceSettingsNamespace> settings(m, "Settings");
pybind11::classh<DeviceSettingsNamespace> settings(m, "Settings");
pybind11::enum_<DeviceSettingsNamespace::EthLinkMode>(settings, "EthernetLinkMode")
.value("Auto", DeviceSettingsNamespace::EthLinkMode::AE_LINK_AUTO)