diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-10-23 23:12:27 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-10-23 23:12:27 +0300 |
commit | 6171cedfddfc864898c3f32a70b370c39e36faa1 (patch) | |
tree | 22c257b4e5a3816bac436f38d4abf68ba4542798 | |
parent | 894d6154bf75f1cf1333d27c7406f4e5e82372a1 (diff) |
pykms: add swig vectors for basic libkms types
-rw-r--r-- | py/pykms.i | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -9,6 +9,7 @@ using namespace kms; %include "std_string.i" %include "stdint.i" +%include "std_vector.i" %feature("director") PageFlipHandlerBase; @@ -26,3 +27,8 @@ using namespace kms; %include "pagefliphandler.h" %include "kmstest.h" + +%template(ConnectorVector) std::vector<kms::Connector*>; +%template(CrtcVector) std::vector<kms::Crtc*>; +%template(EncoderVector) std::vector<kms::Encoder*>; +%template(PlaneVector) std::vector<kms::Plane*>; |