Bug 1551991 - followup: Don't derive the destructor of CounterSpeakAs so that we can return it safely by value in Win32. r=me

This commit is contained in:
Emilio Cobos Álvarez 2019-05-17 05:23:26 +02:00
Родитель 7c1b76c6a8
Коммит ce94f581e0
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -3118,6 +3118,10 @@ pub unsafe extern "C" fn Servo_CounterStyleRule_GetAdditiveSymbols(
})
}
/// Don't derive destructors so that it's POD and we can pass it by value
/// without issues.
///
/// cbindgen:derive-tagged-enum-destructor=false
#[repr(C, u8)]
pub enum CounterSpeakAs {
None,