File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ pub type ssize_t = isize;
48
48
49
49
pub type pid_t = c_int ;
50
50
51
- // aarch64 specifc
51
+ // aarch64 specific
52
52
pub type c_char = u8 ;
53
53
54
54
pub type wchar_t = u32 ;
@@ -61,9 +61,9 @@ pub type c_ulong = u64;
61
61
pub struct _CLongDouble ( pub u128 ) ;
62
62
63
63
// long double in C means A float point value, which has 128bit length.
64
- // but some bit maybe not used, so the really length of long double could be 80(x86) or 128(power pc/IEEE)
64
+ // but some bit maybe not used, so the real length of long double could be 80(x86) or 128(power pc/IEEE)
65
65
// this is different from f128(not stable and not included default) in Rust, so we use u128 for FFI(Rust to C).
66
- // this is unstable and will couse to memfault/data abort.
66
+ // this is unstable and will cause to memfault/data abort.
67
67
pub type c_longdouble = _CLongDouble ;
68
68
69
69
pub type pthread_t = c_ulong ;
Original file line number Diff line number Diff line change @@ -1299,7 +1299,7 @@ extern "C" {
1299
1299
pub fn find_path_for_path_etc (
1300
1300
path : * const :: c_char ,
1301
1301
dependency : * const :: c_char ,
1302
- architectur : * const :: c_char ,
1302
+ architecture : * const :: c_char ,
1303
1303
baseDirectory : path_base_directory ,
1304
1304
subPath : * const :: c_char ,
1305
1305
flags : u32 ,
You can’t perform that action at this time.
0 commit comments