Add FFI for debug info of CSSStyleRule

This commit is contained in:
Xidorn Quan 2016-11-23 10:35:00 +11:00
parent 9ee2ec5a35
commit 3c5871f83a
2 changed files with 11 additions and 0 deletions

View file

@ -1010,6 +1010,10 @@ extern "C" {
index: u32)
-> RawServoStyleRuleStrong;
}
extern "C" {
pub fn Servo_StyleRule_Debug(rule: RawServoStyleRuleBorrowed,
result: *mut nsACString_internal);
}
extern "C" {
pub fn Servo_StyleRule_GetStyle(rule: RawServoStyleRuleBorrowed)
-> RawServoDeclarationBlockStrong;