summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 31c5e08)
raw | patch | inline | side by side (parent: 31c5e08)
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Wed, 22 Jun 2016 06:36:15 +0000 (09:36 +0300) | ||
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Wed, 22 Jun 2016 06:36:15 +0000 (09:36 +0300) |
"kms++: use DrmPropObject in AtomicReq" forgot to update py bindings.
Fix this.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Fix this.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
py/pykmsbase.cpp | patch | blob | history |
diff --git a/py/pykmsbase.cpp b/py/pykmsbase.cpp
index b279de353916f0236673dc52d0232f25b6744ad5..4dbcd7e1b691093a336271ebe5f1691b8bf61425 100644 (file)
--- a/py/pykmsbase.cpp
+++ b/py/pykmsbase.cpp
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)