From 19e36012e95ff08be86ebb2e6bae5547b1324cd9 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 22 Jun 2016 09:36:15 +0300 Subject: [PATCH] py: fix AtomicReq's add() "kms++: use DrmPropObject in AtomicReq" forgot to update py bindings. Fix this. Signed-off-by: Tomi Valkeinen --- py/pykmsbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/pykmsbase.cpp b/py/pykmsbase.cpp index b279de3..4dbcd7e 100644 --- a/py/pykmsbase.cpp +++ b/py/pykmsbase.cpp @@ -147,7 +147,7 @@ void init_pykmsbase(py::module &m) py::class_(m, "AtomicReq") .def(py::init(), py::keep_alive<1, 2>()) // Keep Card alive until this is destructed - .def("add", (void (AtomicReq::*)(DrmObject*, const string&, uint64_t)) &AtomicReq::add) + .def("add", (void (AtomicReq::*)(DrmPropObject*, const string&, uint64_t)) &AtomicReq::add) .def("test", &AtomicReq::test, py::arg("allow_modeset") = false) .def("commit", &AtomicReq::commit, py::arg("data"), py::arg("allow_modeset") = false) .def("commit_sync", &AtomicReq::commit_sync, py::arg("allow_modeset") = false) -- 2.39.2