@@ -87,14 +87,14 @@ class PackedPoint(Structure):
87
87
_fields_ = [("x" , c_long ), ("y" , c_long )]
88
88
89
89
class PointMidPad (Structure ):
90
- _fields_ = [("x" , c_byte ), ("y" , c_uint64 )]
90
+ _fields_ = [("x" , c_byte ), ("y" , c_uint32 )]
91
91
92
92
class PackedPointMidPad (Structure ):
93
93
_pack_ = 2
94
94
_fields_ = [("x" , c_byte ), ("y" , c_uint64 )]
95
95
96
96
class PointEndPad (Structure ):
97
- _fields_ = [("x" , c_uint64 ), ("y" , c_byte )]
97
+ _fields_ = [("x" , c_uint32 ), ("y" , c_byte )]
98
98
99
99
class PackedPointEndPad (Structure ):
100
100
_pack_ = 2
@@ -202,9 +202,9 @@ class Complete(Structure):
202
202
(Point2 , "T{<l:x:<l:y:}" .replace ('l' , s_long ), (), Point2 ),
203
203
(Point , "T{<l:x:<l:y:}" .replace ('l' , s_long ), (), Point ),
204
204
(PackedPoint , "T{<l:x:<l:y:}" .replace ('l' , s_long ), (), PackedPoint ),
205
- (PointMidPad , "T{<b:x:7x<Q :y:}" , (), PointMidPad ),
205
+ (PointMidPad , "T{<b:x:3x<I :y:}" , (), PointMidPad ),
206
206
(PackedPointMidPad , "T{<b:x:x<Q:y:}" , (), PackedPointMidPad ),
207
- (PointEndPad , "T{<Q :x:<b:y:7x }" , (), PointEndPad ),
207
+ (PointEndPad , "T{<I :x:<b:y:3x }" , (), PointEndPad ),
208
208
(PackedPointEndPad , "T{<Q:x:<b:y:x}" , (), PackedPointEndPad ),
209
209
(EmptyStruct , "T{}" , (), EmptyStruct ),
210
210
# the pep doesn't support unions
0 commit comments