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;
4848
4949pub type pid_t = c_int ;
5050
51- // aarch64 specifc
51+ // aarch64 specific
5252pub type c_char = u8 ;
5353
5454pub type wchar_t = u32 ;
@@ -61,9 +61,9 @@ pub type c_ulong = u64;
6161pub struct _CLongDouble ( pub u128 ) ;
6262
6363// 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)
6565// 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.
6767pub type c_longdouble = _CLongDouble ;
6868
6969pub type pthread_t = c_ulong ;
Original file line number Diff line number Diff line change @@ -1299,7 +1299,7 @@ extern "C" {
12991299 pub fn find_path_for_path_etc (
13001300 path : * const :: c_char ,
13011301 dependency : * const :: c_char ,
1302- architectur : * const :: c_char ,
1302+ architecture : * const :: c_char ,
13031303 baseDirectory : path_base_directory ,
13041304 subPath : * const :: c_char ,
13051305 flags : u32 ,
You can’t perform that action at this time.
0 commit comments