mirror of
https://github.com/servo/servo.git
synced 2025-07-02 04:53:39 +01:00
Add machinery to assert single-threadedness from geckolib.
MozReview-Commit-ID: 9LBNm2h5Ct3
This commit is contained in:
parent
a061f2a89f
commit
ac74cf7a60
2 changed files with 15 additions and 0 deletions
|
@ -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 ;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue