summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2017-03-17 09:29:49 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2017-03-17 09:29:49 +0200
commitdb0b061c5a6e2a0d03f6060472ecd13391fd313f (patch)
tree7c13f873e4104b7ccc35fd52a2a31f9106991b7a /py
parente3701914cc9e7156fcd50a75516327a8887eefe3 (diff)
py: add DrmObject.idx
Diffstat (limited to 'py')
-rw-r--r--py/pykms/pykmsbase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/pykms/pykmsbase.cpp b/py/pykms/pykmsbase.cpp
index 3053608..4d4559d 100644
--- a/py/pykms/pykmsbase.cpp
+++ b/py/pykms/pykmsbase.cpp
@@ -23,6 +23,7 @@ void init_pykmsbase(py::module &m)
py::class_<DrmObject, DrmObject*>(m, "DrmObject")
.def_property_readonly("id", &DrmObject::id)
+ .def_property_readonly("idx", &DrmObject::idx)
.def_property_readonly("card", &DrmObject::card)
;