refactor(reaction): refactored to an abstract reaction class in prep for weak reactions

This commit is contained in:
2025-08-14 13:33:46 -04:00
parent d920a55ba6
commit 0b77f2e269
81 changed files with 1050041 additions and 913 deletions

View File

@@ -8,7 +8,7 @@ namespace py = pybind11;
#include "gridfire/network.h"
void register_type_bindings(pybind11::module &m) {
void register_type_bindings(const pybind11::module &m) {
py::class_<gridfire::NetIn>(m, "NetIn")
.def(py::init<>())
.def_readwrite("composition", &gridfire::NetIn::composition)

View File

@@ -2,4 +2,4 @@
#include <pybind11/pybind11.h>
void register_type_bindings(pybind11::module &m);
void register_type_bindings(const pybind11::module &m);