mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-09-22 00:48:40 +02:00
Bindings: Python: Add Main51MessageFilter support
This commit is contained in:
committed by
Kyle Schwarz
parent
bb892bfd9b
commit
8cd907250d
@@ -0,0 +1,13 @@
|
||||
#include <pybind11/pybind11.h>
|
||||
|
||||
#include "icsneo/communication/message/main51message.h"
|
||||
|
||||
namespace icsneo {
|
||||
|
||||
void init_main51message(pybind11::module_& m) {
|
||||
pybind11::classh<Main51Message, RawMessage>(m, "Main51Message")
|
||||
.def(pybind11::init<>())
|
||||
.def_readonly("command", &Main51Message::command);
|
||||
}
|
||||
|
||||
} // namespace icsneo
|
||||
Reference in New Issue
Block a user