]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/external-libkmsxx.git/commitdiff
py: fix AtomicReq's add()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 22 Jun 2016 06:36:15 +0000 (09:36 +0300)
committerTomi 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>
py/pykmsbase.cpp

index b279de353916f0236673dc52d0232f25b6744ad5..4dbcd7e1b691093a336271ebe5f1691b8bf61425 100644 (file)
@@ -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)