diff options
Diffstat (limited to 'py')
-rw-r--r-- | py/pykms/pykmsbase.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/py/pykms/pykmsbase.cpp b/py/pykms/pykmsbase.cpp index d626019..ecb6edb 100644 --- a/py/pykms/pykmsbase.cpp +++ b/py/pykms/pykmsbase.cpp @@ -165,6 +165,8 @@ void init_pykmsbase(py::module &m) .def_readwrite("type", &Videomode::type) .def("__repr__", [](const Videomode& vm) { return "<pykms.Videomode " + to_string(vm.hdisplay) + "x" + to_string(vm.vdisplay) + ">"; }) + + .def("to_blob", &Videomode::to_blob) ; py::class_<AtomicReq>(m, "AtomicReq") |