File tree 5 files changed +7
-7
lines changed
5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ pub struct SDL_AudioCVT {
56
56
pub len_cvt : c_int ,
57
57
pub len_mult : c_int ,
58
58
pub len_ratio : c_double ,
59
- filters : [ SDL_AudioFilter ; 10 u ] ,
59
+ filters : [ SDL_AudioFilter ; 10 us ] ,
60
60
filter_index : c_int ,
61
61
}
62
62
pub type SDL_AudioDeviceID = uint32_t ;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ pub struct SDL_GameControllerButtonBind {
23
23
#[ derive( Copy , Clone ) ]
24
24
#[ repr( C ) ]
25
25
pub struct SDL_GameControllerButtonBindData {
26
- data : [ c_uchar ; 8 u ] ,
26
+ data : [ c_uchar ; 8 us ] ,
27
27
}
28
28
29
29
#[ allow( dead_code) ]
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ pub struct SDL_TextEditingEvent {
100
100
pub _type : uint32_t ,
101
101
pub timestamp : uint32_t ,
102
102
pub windowID : uint32_t ,
103
- pub text : [ c_char ; 32 u ] ,
103
+ pub text : [ c_char ; 32 us ] ,
104
104
pub start : int32_t ,
105
105
pub length : int32_t ,
106
106
}
@@ -111,7 +111,7 @@ pub struct SDL_TextInputEvent {
111
111
pub _type : uint32_t ,
112
112
pub timestamp : uint32_t ,
113
113
pub windowID : uint32_t ,
114
- pub text : [ c_char ; 32 u ] ,
114
+ pub text : [ c_char ; 32 us ] ,
115
115
}
116
116
117
117
#[ derive( Copy , Clone ) ]
@@ -333,7 +333,7 @@ pub struct SDL_SysWMEvent {
333
333
#[ allow( missing_copy_implementations) ]
334
334
#[ repr( C ) ]
335
335
pub struct SDL_Event {
336
- pub data : [ uint8_t ; 56 u ] ,
336
+ pub data : [ uint8_t ; 56 us ] ,
337
337
}
338
338
339
339
impl SDL_Event {
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ pub struct SDL_HapticCustom {
126
126
#[ allow( missing_copy_implementations) ]
127
127
#[ repr( C ) ]
128
128
pub struct SDL_HapticEffect {
129
- pub data : [ uint8_t ; 72 u ] ,
129
+ pub data : [ uint8_t ; 72 us ] ,
130
130
}
131
131
132
132
impl SDL_HapticEffect {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ pub type SDL_Joystick = c_void;
8
8
#[ derive( Copy , Clone ) ]
9
9
#[ repr( C ) ]
10
10
pub struct SDL_JoystickGUID {
11
- pub data : [ uint8_t ; 16 u ] ,
11
+ pub data : [ uint8_t ; 16 us ] ,
12
12
}
13
13
14
14
extern "C" {
You can’t perform that action at this time.
0 commit comments