]> git.cworth.org Git - apitrace/blobdiff - specs/ddraw.py
Specify constant array lengths as integers.
[apitrace] / specs / ddraw.py
index eb5a07204b17235d3dd322403e8e664649dfce09..e730840611d57f4285fb14964007dfc8a8754f5e 100644 (file)
@@ -496,9 +496,9 @@ DDBLTBATCH = Struct("DDBLTBATCH", [
 LPDDBLTBATCH = Pointer(DDBLTBATCH)
 
 DDGAMMARAMP = Struct("DDGAMMARAMP", [
-    (Array(WORD, "256"), "red"),
-    (Array(WORD, "256"), "green"),
-    (Array(WORD, "256"), "blue"),
+    (Array(WORD, 256), "red"),
+    (Array(WORD, 256), "green"),
+    (Array(WORD, 256), "blue"),
 ])
 LPDDGAMMARAMP = Pointer(DDGAMMARAMP)