summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-09 14:39:30 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-09 14:39:30 +0300
commit74d8dfd74c9cb822ffd4a0b99d96e8ede38f8640 (patch)
tree071e67b5ebc0d1c835cbe85073c2a593c0fb4f74 /py
parent1edb19130f3025498e387e385e6692546d1287eb (diff)
py: fix videomode list
Diffstat (limited to 'py')
-rw-r--r--py/pykms.i1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/pykms.i b/py/pykms.i
index 0939805..cefdce7 100644
--- a/py/pykms.i
+++ b/py/pykms.i
@@ -35,6 +35,7 @@ using namespace kms;
%template(CrtcVector) std::vector<kms::Crtc*>;
%template(EncoderVector) std::vector<kms::Encoder*>;
%template(PlaneVector) std::vector<kms::Plane*>;
+%template(VideoModeVector) std::vector<kms::Videomode>;
/* for some reason uint64_t doesn't compile on 64 bit pc */
/* %template(map_u32_u64) std::map<uint32_t, uint64_t>; */
%template(map_u32_u64) std::map<uint32_t, unsigned long long>;