This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -242,15 +242,13 @@ mod imp {
242242 let mut res = Vec :: new ( ) ;
243243
244244 unsafe {
245- let process_info_sel =
246- sel_registerName ( c"processInfo" . as_ptr ( ) as * const libc:: c_uchar ) ;
247- let arguments_sel = sel_registerName ( c"arguments" . as_ptr ( ) as * const libc:: c_uchar ) ;
248- let utf8_sel = sel_registerName ( c"UTF8String" . as_ptr ( ) as * const libc:: c_uchar ) ;
249- let count_sel = sel_registerName ( c"count" . as_ptr ( ) as * const libc:: c_uchar ) ;
250- let object_at_sel =
251- sel_registerName ( c"objectAtIndex:" . as_ptr ( ) as * const libc:: c_uchar ) ;
252-
253- let klass = objc_getClass ( c"NSProcessInfo" . as_ptr ( ) as * const libc:: c_uchar ) ;
245+ let process_info_sel = sel_registerName ( c"processInfo" . as_ptr ( ) ) ;
246+ let arguments_sel = sel_registerName ( c"arguments" . as_ptr ( ) ) ;
247+ let utf8_sel = sel_registerName ( c"UTF8String" . as_ptr ( ) ) ;
248+ let count_sel = sel_registerName ( c"count" . as_ptr ( ) ) ;
249+ let object_at_sel = sel_registerName ( c"objectAtIndex:" . as_ptr ( ) ) ;
250+
251+ let klass = objc_getClass ( c"NSProcessInfo" . as_ptr ( ) ) ;
254252 let info = objc_msgSend ( klass, process_info_sel) ;
255253 let args = objc_msgSend ( info, arguments_sel) ;
256254
You can’t perform that action at this time.
0 commit comments