mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
geckolib: Add dummy fields in the vtables to supress rustc warnings about zero-sized ctypes
This includes 6de91cbb8d
This commit is contained in:
parent
e81b57c8da
commit
51ebdbd559
1 changed files with 2 additions and 0 deletions
|
@ -1884,6 +1884,7 @@ pub struct nsISupports {
|
||||||
}
|
}
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct _vftable_nsISupports {
|
pub struct _vftable_nsISupports {
|
||||||
|
pub _bindgen_empty_ctype_warning_fix: u64,
|
||||||
}
|
}
|
||||||
impl ::std::clone::Clone for nsISupports {
|
impl ::std::clone::Clone for nsISupports {
|
||||||
fn clone(&self) -> Self { *self }
|
fn clone(&self) -> Self { *self }
|
||||||
|
@ -3738,6 +3739,7 @@ pub struct CounterStyle {
|
||||||
}
|
}
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct _vftable_CounterStyle {
|
pub struct _vftable_CounterStyle {
|
||||||
|
pub _bindgen_empty_ctype_warning_fix: u64,
|
||||||
}
|
}
|
||||||
impl ::std::clone::Clone for CounterStyle {
|
impl ::std::clone::Clone for CounterStyle {
|
||||||
fn clone(&self) -> Self { *self }
|
fn clone(&self) -> Self { *self }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue