refactor(reaction): refactored to an abstract reaction class in prep for weak reactions
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
#include <pybind11/pybind11.h>
|
||||
|
||||
void register_type_bindings(pybind11::module &m);
|
||||
void register_type_bindings(const pybind11::module &m);
|
||||
|
||||
Reference in New Issue
Block a user