From e37d31c82f809a83b372f239ae12b9b4e79bfa37 Mon Sep 17 00:00:00 2001 From: Jyri Sarha Date: Mon, 6 Mar 2017 15:16:31 +0200 Subject: Add Videomode::to_blob method to pykmsbase. Signed-off-by: Tomi Valkeinen --- py/pykms/pykmsbase.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 ""; }) + + .def("to_blob", &Videomode::to_blob) ; py::class_(m, "AtomicReq") -- cgit v1.2.3