File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 44#![ allow( deprecated) ]
55#![ cfg_attr( docsrs, feature( doc_cfg) ) ]
66
7- use std:: ffi:: c_void;
8-
97pub use gdk;
108pub use gdk4_win32_sys as ffi;
119pub use gio;
@@ -32,13 +30,13 @@ mod win32_hcursor;
3230mod win32_surface;
3331
3432#[ cfg( not( all( feature = "win32" , windows) ) ) ]
35- pub struct HANDLE ( pub * mut c_void ) ;
33+ pub struct HANDLE ( pub * mut std :: ffi :: c_void ) ;
3634#[ cfg( not( all( feature = "win32" , windows) ) ) ]
37- pub struct HCURSOR ( pub * mut c_void ) ;
35+ pub struct HCURSOR ( pub * mut std :: ffi :: c_void ) ;
3836#[ cfg( not( all( feature = "win32" , windows) ) ) ]
39- pub struct HICON ( pub * mut c_void ) ;
37+ pub struct HICON ( pub * mut std :: ffi :: c_void ) ;
4038#[ cfg( not( all( feature = "win32" , windows) ) ) ]
41- pub struct HWND ( pub * mut c_void ) ;
39+ pub struct HWND ( pub * mut std :: ffi :: c_void ) ;
4240
4341#[ cfg( not( all( feature = "win32" , windows) ) ) ]
4442#[ repr( transparent) ]
Original file line number Diff line number Diff line change @@ -25,6 +25,6 @@ impl Win32HCursor {
2525
2626 pub fn handle ( & self ) -> HCURSOR {
2727 let ptr: NonNull < Pointee > = ObjectExt :: property ( self , "handle" ) ;
28- HCURSOR ( ptr. as_ptr ( ) as * mut c_void )
28+ HCURSOR ( ptr. as_ptr ( ) )
2929 }
3030}
You can’t perform that action at this time.
0 commit comments