diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-06-22 09:36:15 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-06-22 09:36:15 +0300 |
commit | 19e36012e95ff08be86ebb2e6bae5547b1324cd9 (patch) | |
tree | 9f158b0c623eac892f51201ef25a98f5c167dc8c /py | |
parent | 31c5e08b80fd83b96975681746378538995e1a9a (diff) |
py: fix AtomicReq's add()
"kms++: use DrmPropObject in AtomicReq" forgot to update py bindings.
Fix this.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'py')
-rw-r--r-- | py/pykmsbase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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_<AtomicReq>(m, "AtomicReq") .def(py::init<Card&>(), 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) |