@@ -88,14 +88,12 @@ pub type SceMpegRingbufferCb = ::Option<
88
88
> ;
89
89
90
90
pub type GuCallback = :: Option < extern "C" fn ( id : i32 , arg : * mut c_void ) > ;
91
- pub type GuSwapBuffersCallback = :: Option < extern "C" fn (
92
- display : * mut * mut c_void , render : * mut * mut c_void
93
- ) ,
91
+ pub type GuSwapBuffersCallback = :: Option <
92
+ extern "C" fn ( display : * mut * mut c_void , render : * mut * mut c_void ) ,
94
93
> ;
95
94
96
- pub type SceNetAdhocctlHandler = :: Option < unsafe extern "C" fn (
97
- flag : i32 , error : i32 , unknown : * mut c_void
98
- ) ,
95
+ pub type SceNetAdhocctlHandler = :: Option <
96
+ unsafe extern "C" fn ( flag : i32 , error : i32 , unknown : * mut c_void ) ,
99
97
> ;
100
98
101
99
pub type AdhocMatchingCallback = :: Option <
@@ -2794,7 +2792,7 @@ extern "C" {
2794
2792
pub fn sceCtrlPeekLatch ( latch_data : * mut SceCtrlLatch ) -> i32 ;
2795
2793
pub fn sceCtrlReadLatch ( latch_data : * mut SceCtrlLatch ) -> i32 ;
2796
2794
pub fn sceCtrlSetIdleCancelThreshold ( idlereset : i32 , idleback : i32 )
2797
- -> i32 ;
2795
+ -> i32 ;
2798
2796
pub fn sceCtrlGetIdleCancelThreshold (
2799
2797
idlereset : * mut i32 ,
2800
2798
idleback : * mut i32 ,
@@ -3163,7 +3161,7 @@ extern "C" {
3163
3161
timeout : * mut u32 ,
3164
3162
) -> i32 ;
3165
3163
pub fn sceKernelPollMbx ( mbx_id : SceUid , pmessage : * mut * mut c_void )
3166
- -> i32 ;
3164
+ -> i32 ;
3167
3165
pub fn sceKernelCancelReceiveMbx ( mbx_id : SceUid , num : * mut i32 ) -> i32 ;
3168
3166
pub fn sceKernelReferMbxStatus (
3169
3167
mbx_id : SceUid ,
@@ -3321,7 +3319,7 @@ extern "C" {
3321
3319
timeout : * mut u32 ,
3322
3320
) -> i32 ;
3323
3321
pub fn sceKernelTryAllocateFpl ( uid : SceUid , data : * mut * mut c_void )
3324
- -> i32 ;
3322
+ -> i32 ;
3325
3323
pub fn sceKernelFreeFpl ( uid : SceUid , data : * mut c_void ) -> i32 ;
3326
3324
pub fn sceKernelCancelFpl ( uid : SceUid , pnum : * mut i32 ) -> i32 ;
3327
3325
pub fn sceKernelReferFplStatus (
@@ -3574,10 +3572,12 @@ extern "C" {
3574
3572
num_years : u64 ,
3575
3573
) -> i32 ;
3576
3574
pub fn sceRtcSetTime_t ( date : * mut ScePspDateTime , time : u32 ) -> i32 ;
3577
- pub fn sceRtcGetTime_t ( date : * const ScePspDateTime , time : * mut u32 ) -> i32 ;
3575
+ pub fn sceRtcGetTime_t ( date : * const ScePspDateTime , time : * mut u32 )
3576
+ -> i32 ;
3578
3577
pub fn sceRtcSetTime64_t ( date : * mut ScePspDateTime , time : u64 ) -> i32 ;
3579
3578
pub fn sceRtcGetTime64_t (
3580
- date : * const ScePspDateTime , time : * mut u64
3579
+ date : * const ScePspDateTime ,
3580
+ time : * mut u64 ,
3581
3581
) -> i32 ;
3582
3582
pub fn sceRtcSetDosTime ( date : * mut ScePspDateTime , dos_time : u32 ) -> i32 ;
3583
3583
pub fn sceRtcGetDosTime ( date : * mut ScePspDateTime , dos_time : u32 ) -> i32 ;
@@ -3636,7 +3636,7 @@ extern "C" {
3636
3636
pub fn sceIoLseekAsync ( fd : SceUid , offset : i64 , whence : IoWhence ) -> i32 ;
3637
3637
pub fn sceIoLseek32 ( fd : SceUid , offset : i32 , whence : IoWhence ) -> i32 ;
3638
3638
pub fn sceIoLseek32Async ( fd : SceUid , offset : i32 , whence : IoWhence )
3639
- -> i32 ;
3639
+ -> i32 ;
3640
3640
pub fn sceIoRemove ( file : * const u8 ) -> i32 ;
3641
3641
pub fn sceIoMkdir ( dir : * const u8 , mode : IoPermissions ) -> i32 ;
3642
3642
pub fn sceIoRmdir ( path : * const u8 ) -> i32 ;
@@ -4173,7 +4173,7 @@ extern "C" {
4173
4173
) -> i32 ;
4174
4174
pub fn sceRegGetKeysNum ( dir_handle : RegHandle , num : * mut i32 ) -> i32 ;
4175
4175
pub fn sceRegGetKeys ( dir_handle : RegHandle , buf : * mut u8 , num : i32 )
4176
- -> i32 ;
4176
+ -> i32 ;
4177
4177
pub fn sceRegCreateKey (
4178
4178
dir_handle : RegHandle ,
4179
4179
name : * const u8 ,
@@ -4315,7 +4315,7 @@ extern "C" {
4315
4315
) -> i32 ;
4316
4316
pub fn sceNetAdhocctlDelHandler ( id : i32 ) -> i32 ;
4317
4317
pub fn sceNetAdhocctlGetNameByAddr ( mac : * mut u8 , nickname : * mut u8 )
4318
- -> i32 ;
4318
+ -> i32 ;
4319
4319
pub fn sceNetAdhocctlGetAddrByName (
4320
4320
nickname : * mut u8 ,
4321
4321
length : * mut i32 ,
@@ -4486,7 +4486,7 @@ extern "C" {
4486
4486
) -> i32 ;
4487
4487
pub fn sceNetAdhocMatchingGetPoolMaxAlloc ( ) -> i32 ;
4488
4488
pub fn sceNetAdhocMatchingGetPoolStat ( poolstat : * mut AdhocPoolStat )
4489
- -> i32 ;
4489
+ -> i32 ;
4490
4490
}
4491
4491
4492
4492
extern "C" {
@@ -4625,7 +4625,7 @@ extern "C" {
4625
4625
content_length : * mut u64 ,
4626
4626
) -> i32 ;
4627
4627
pub fn sceHttpGetStatusCode ( request_id : i32 , status_code : * mut i32 )
4628
- -> i32 ;
4628
+ -> i32 ;
4629
4629
pub fn sceHttpSetResolveTimeOut ( id : i32 , timeout : u32 ) -> i32 ;
4630
4630
pub fn sceHttpSetResolveRetry ( id : i32 , count : i32 ) -> i32 ;
4631
4631
pub fn sceHttpSetConnectTimeOut ( id : i32 , timeout : u32 ) -> i32 ;
0 commit comments