summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b3348d9)
raw | patch | inline | side by side (parent: b3348d9)
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Thu, 2 Jun 2016 14:45:09 +0000 (17:45 +0300) | ||
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Thu, 2 Jun 2016 14:45:33 +0000 (17:45 +0300) |
py/pykmsbase.cpp | patch | blob | history |
diff --git a/py/pykmsbase.cpp b/py/pykmsbase.cpp
index 83be9d2bcb351803e561219f684b18377830c401..f31986a7af6e4e5b40593f675bff18aae3d9d3fe 100644 (file)
--- a/py/pykmsbase.cpp
+++ b/py/pykmsbase.cpp
.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)
;
}