Add machinery to assert single-threadedness from geckolib.

MozReview-Commit-ID: 9LBNm2h5Ct3
This commit is contained in:
Bobby Holley 2018-01-11 13:48:36 -08:00
parent a061f2a89f
commit ac74cf7a60
2 changed files with 15 additions and 0 deletions

View file

@ -1597,4 +1597,8 @@ extern "C" {
pub fn Gecko_GetElementsWithId ( aDocument : * const nsIDocument , aId : * mut nsAtom , ) -> * const nsTArray < * mut Element > ;
} extern "C" {
pub fn Gecko_GetBoolPrefValue ( pref_name : * const :: std :: os :: raw :: c_char , ) -> bool ;
} extern "C" {
pub fn Gecko_IsInServoTraversal ( ) -> bool ;
} extern "C" {
pub fn Gecko_IsMainThread ( ) -> bool ;
}