@@ -507,8 +507,8 @@ pub mod types {
507
507
pub mod c99 {
508
508
pub type c_longlong = i64 ;
509
509
pub type c_ulonglong = u64 ;
510
- pub type intptr_t = int ;
511
- pub type uintptr_t = uint ;
510
+ pub type intptr_t = i32 ;
511
+ pub type uintptr_t = u32 ;
512
512
}
513
513
#[ cfg( target_arch = "x86" ) ]
514
514
#[ cfg( target_arch = "mips" ) ]
@@ -702,8 +702,8 @@ pub mod types {
702
702
pub mod c99 {
703
703
pub type c_longlong = i64 ;
704
704
pub type c_ulonglong = u64 ;
705
- pub type intptr_t = int ;
706
- pub type uintptr_t = uint ;
705
+ pub type intptr_t = i64 ;
706
+ pub type uintptr_t = u64 ;
707
707
}
708
708
pub mod posix88 {
709
709
pub type off_t = i64 ;
@@ -911,8 +911,8 @@ pub mod types {
911
911
pub mod c99 {
912
912
pub type c_longlong = i64 ;
913
913
pub type c_ulonglong = u64 ;
914
- pub type intptr_t = int ;
915
- pub type uintptr_t = uint ;
914
+ pub type intptr_t = i64 ;
915
+ pub type uintptr_t = u64 ;
916
916
}
917
917
pub mod posix88 {
918
918
pub type off_t = i64 ;
@@ -1124,8 +1124,8 @@ pub mod types {
1124
1124
pub mod c99 {
1125
1125
pub type c_longlong = i64 ;
1126
1126
pub type c_ulonglong = u64 ;
1127
- pub type intptr_t = int ;
1128
- pub type uintptr_t = uint ;
1127
+ pub type intptr_t = i64 ;
1128
+ pub type uintptr_t = u64 ;
1129
1129
}
1130
1130
pub mod posix88 {
1131
1131
pub type off_t = i64 ;
@@ -1243,9 +1243,10 @@ pub mod types {
1243
1243
}
1244
1244
1245
1245
pub mod bsd44 {
1246
- use types:: os:: arch:: c95:: { c_char, c_int, c_uint, size_t, uintptr_t} ;
1246
+ use types:: os:: arch:: c95:: { c_char, c_int, c_uint, size_t} ;
1247
+ use types:: os:: arch:: c99:: uintptr_t;
1247
1248
1248
- pub type SOCKET = uint ;
1249
+ pub type SOCKET = uintptr_t ;
1249
1250
pub type socklen_t = c_int ;
1250
1251
pub type sa_family_t = u16 ;
1251
1252
pub type in_port_t = u16 ;
@@ -1356,8 +1357,8 @@ pub mod types {
1356
1357
pub mod c99 {
1357
1358
pub type c_longlong = i64 ;
1358
1359
pub type c_ulonglong = u64 ;
1359
- pub type intptr_t = int ;
1360
- pub type uintptr_t = uint ;
1360
+ pub type intptr_t = i32 ;
1361
+ pub type uintptr_t = u32 ;
1361
1362
}
1362
1363
1363
1364
pub mod posix88 {
@@ -1486,7 +1487,7 @@ pub mod types {
1486
1487
pub dwPageSize : DWORD ,
1487
1488
pub lpMinimumApplicationAddress : LPVOID ,
1488
1489
pub lpMaximumApplicationAddress : LPVOID ,
1489
- pub dwActiveProcessorMask : uint ,
1490
+ pub dwActiveProcessorMask : uintptr_t ,
1490
1491
pub dwNumberOfProcessors : DWORD ,
1491
1492
pub dwProcessorType : DWORD ,
1492
1493
pub dwAllocationGranularity : DWORD ,
@@ -1720,8 +1721,8 @@ pub mod types {
1720
1721
pub mod c99 {
1721
1722
pub type c_longlong = i64 ;
1722
1723
pub type c_ulonglong = u64 ;
1723
- pub type intptr_t = int ;
1724
- pub type uintptr_t = uint ;
1724
+ pub type intptr_t = i32 ;
1725
+ pub type uintptr_t = u32 ;
1725
1726
}
1726
1727
pub mod posix88 {
1727
1728
pub type off_t = i64 ;
@@ -1821,8 +1822,8 @@ pub mod types {
1821
1822
pub mod c99 {
1822
1823
pub type c_longlong = i64 ;
1823
1824
pub type c_ulonglong = u64 ;
1824
- pub type intptr_t = int ;
1825
- pub type uintptr_t = uint ;
1825
+ pub type intptr_t = i64 ;
1826
+ pub type uintptr_t = u64 ;
1826
1827
}
1827
1828
pub mod posix88 {
1828
1829
pub type off_t = i64 ;
@@ -4401,7 +4402,7 @@ pub mod funcs {
4401
4402
pub fn glob ( pattern : * const c_char ,
4402
4403
flags : c_int ,
4403
4404
errfunc : :: Nullable < extern "C" fn ( epath : * const c_char ,
4404
- errno : int ) -> int > ,
4405
+ errno : c_int ) -> int > ,
4405
4406
pglob : * mut glob_t ) ;
4406
4407
pub fn globfree ( pglob : * mut glob_t ) ;
4407
4408
}
0 commit comments