зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1355183 - Mark WrExternalImageType as repr(u32) instead of repr(C). r=rhunt
On the C++ side the enum extends from uint32_t, like all the other enums across the WR FFI boundary. So the Rust side they should be repr(u32). MozReview-Commit-ID: JOf44I154ea
This commit is contained in:
Родитель
8c1aeb1cb3
Коммит
48eb1475b5
|
@ -440,7 +440,7 @@ impl From<ClipRegion> for WrClipRegion {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[repr(C)]
|
#[repr(u32)]
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
enum WrExternalImageType {
|
enum WrExternalImageType {
|
||||||
NativeTexture,
|
NativeTexture,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче