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
@@ -8,7 +8,7 @@
namespace icsneo {
void init_network(pybind11::module_& m) {
pybind11::class_<Network> network(m, "Network");
pybind11::classh<Network> network(m, "Network");
pybind11::native_enum<Network::NetID>(network, "NetID", "enum.IntEnum")
.value("Device", Network::NetID::Device)