mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-27 01:11:38 +00:00
Add a void ptr cast for extern type aliases containing Rust-native types
This commit is contained in:
parent
3d656f87aa
commit
6edd2d2a59
@ -19,7 +19,7 @@ impl<'a> Types<'a> {
|
||||
} else if let Some(strct) = self.structs.get(ident) {
|
||||
Depends(&strct.name.rust) // iterate to fixed-point
|
||||
} else {
|
||||
Definite(self.rust.contains(ident))
|
||||
Definite(self.rust.contains(ident) || self.aliases.contains_key(ident))
|
||||
}
|
||||
}
|
||||
Type::RustBox(_)
|
||||
|
Loading…
Reference in New Issue
Block a user