summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--py/pykms.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/py/pykms.i b/py/pykms.i
index 6d8de67..11d5104 100644
--- a/py/pykms.i
+++ b/py/pykms.i
@@ -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*>;