Ronald Oussoren committed e51142e

Fix issue with support for having different fieldnames in 32-bit and 64-bit code (struct mapping)

Comments (0)

Files changed (1)


         alias   = values[0]['alias']
         pack   = values[0]['pack']
         if fieldnames and isinstance(fieldnames[0], (list, tuple)):
-            fieldnames = sel32or64(*map(str, fieldnames))
+            print name, fieldnames
+            fieldnames = sel32or64(
+                    *[map(str, names) for names in fieldnames])
             fieldnames = map(str, fieldnames)
         if alias is None:
             if pack is None:
                 result[name] = createStructType(name, typestr, fieldnames)