Add a Servo_IsWorkerThread API.

This commit is contained in:
Bobby Holley 2017-09-18 18:26:29 -07:00
parent a5282cabe0
commit bc1d91e584
2 changed files with 8 additions and 0 deletions

View file

@ -2929,6 +2929,9 @@ extern "C" {
extern "C" {
pub fn Servo_AssertTreeIsClean(root: RawGeckoElementBorrowed);
}
extern "C" {
pub fn Servo_IsWorkerThread() -> bool;
}
extern "C" {
pub fn Servo_MaybeGCRuleTree(set: RawServoStyleSetBorrowed);
}