From 4eb65d9c999670bdff819340050568dd5327e49a Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sun, 12 Feb 2017 01:11:41 +0200 Subject: py: Expose Videomode::to_blob method The Videomode::to_blob method is needed for atomic modesetting. Expose it through the Python bindings. Signed-off-by: Laurent Pinchart --- py/pykms/pykmsbase.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'py/pykms/pykmsbase.cpp') diff --git a/py/pykms/pykmsbase.cpp b/py/pykms/pykmsbase.cpp index 970e533..454c0de 100644 --- a/py/pykms/pykmsbase.cpp +++ b/py/pykms/pykmsbase.cpp @@ -148,6 +148,7 @@ void init_pykmsbase(py::module &m) py::class_(m, "Videomode") .def(py::init<>()) + .def("blob", &Videomode::to_blob) .def_readwrite("name", &Videomode::name) -- cgit v1.2.3