]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/external-libkmsxx.git/commitdiff
hackfix py compilation on 64 bit pc
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 23 Mar 2016 19:20:18 +0000 (21:20 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 23 Mar 2016 19:20:18 +0000 (21:20 +0200)
py/pykms.i

index 080165394c8fcf1fed0c32ccb594c374ed959c44..0939805b5e788313ff1897d8c9e6eaa27e026635 100644 (file)
@@ -35,4 +35,6 @@ using namespace kms;
 %template(CrtcVector) std::vector<kms::Crtc*>;
 %template(EncoderVector) std::vector<kms::Encoder*>;
 %template(PlaneVector) std::vector<kms::Plane*>;
-%template(map_u32_u64) std::map<uint32_t, uint64_t>;
+/* 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>;