Control Libraries 7.4.0
Loading...
Searching...
No Matches
clproto_bindings.cpp
1#include "clproto_bindings.hpp"
2
3#define STRINGIFY(x) #x
4#define MACRO_STRINGIFY(x) STRINGIFY(x)
5
6PYBIND11_MODULE(clproto, m) {
7m.doc() = "Python bindings for control_libraries clproto";
8
9#ifdef MODULE_VERSION_INFO
10m.attr("__version__") = MACRO_STRINGIFY(MODULE_VERSION_INFO);
11#else
12m.attr("__version__") = "dev";
13#endif
14
15py::module_::import("state_representation");
16
17bind_clproto(m);
18}
Bindings to encode and decode state objects into serialised binary message.