File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 66// cd generate-windows-sys/
77// cargo run
88// ```
9- // Bindings generated by `windows-bindgen` 0.60 .0
9+ // Bindings generated by `windows-bindgen` 0.61 .0
1010
1111#![ allow(
1212 non_snake_case,
@@ -44,7 +44,7 @@ pub const ERROR_SUCCESS: WIN32_ERROR = 0u32;
4444pub const FALSE : BOOL = 0i32 ;
4545pub type FARPROC = Option < unsafe extern "system" fn ( ) -> isize > ;
4646#[ repr( C ) ]
47- #[ derive( Clone , Copy ) ]
47+ #[ derive( Clone , Copy , Default ) ]
4848pub struct FILETIME {
4949 pub dwLowDateTime : u32 ,
5050 pub dwHighDateTime : u32 ,
@@ -107,8 +107,13 @@ pub struct SAFEARRAY {
107107 pub pvData : * mut core:: ffi:: c_void ,
108108 pub rgsabound : [ SAFEARRAYBOUND ; 1 ] ,
109109}
110+ impl Default for SAFEARRAY {
111+ fn default ( ) -> Self {
112+ unsafe { core:: mem:: zeroed ( ) }
113+ }
114+ }
110115#[ repr( C ) ]
111- #[ derive( Clone , Copy ) ]
116+ #[ derive( Clone , Copy , Default ) ]
112117pub struct SAFEARRAYBOUND {
113118 pub cElements : u32 ,
114119 pub lLbound : i32 ,
You can’t perform that action at this time.
0 commit comments