summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-02 17:45:09 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-02 17:45:33 +0300
commit16d68158012fdcb83d2007680fa0abc7cfd34801 (patch)
treeda81d4eb1d8ba2ed259b205bf3fc6ab6a6a48059
parentb3348d9cd99b9ed694093ebae5966a7919585604 (diff)
py: fix AtomicReq bindings
-rw-r--r--py/pykmsbase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/py/pykmsbase.cpp b/py/pykmsbase.cpp
index 83be9d2..f31986a 100644
--- a/py/pykmsbase.cpp
+++ b/py/pykmsbase.cpp
@@ -120,8 +120,8 @@ void init_pykmsbase(py::module &m)
.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("test", &AtomicReq::test)
- .def("commit", &AtomicReq::commit)
- .def("commit_sync", &AtomicReq::commit_sync)
+ .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)
;
}