Bindings: Python: Add default MessageFilter constructor
parent
4f83614037
commit
7584563002
|
|
@ -8,6 +8,7 @@ namespace icsneo {
|
||||||
|
|
||||||
void init_messagefilter(pybind11::module_& m) {
|
void init_messagefilter(pybind11::module_& m) {
|
||||||
pybind11::class_<MessageFilter, std::shared_ptr<MessageFilter>>(m, "MessageFilter")
|
pybind11::class_<MessageFilter, std::shared_ptr<MessageFilter>>(m, "MessageFilter")
|
||||||
|
.def(pybind11::init())
|
||||||
.def(pybind11::init<Network::NetID>());
|
.def(pybind11::init<Network::NetID>());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue