Add binding function to create empty DeclarationBlock

This commit is contained in:
Xidorn Quan 2016-11-03 14:44:27 +11:00
parent 70641a777a
commit 0b0ff2b152
2 changed files with 9 additions and 0 deletions

View file

@ -922,6 +922,10 @@ extern "C" {
pub fn Servo_ParseStyleAttribute(data: *const nsACString_internal)
-> RawServoDeclarationBlockStrong;
}
extern "C" {
pub fn Servo_DeclarationBlock_CreateEmpty()
-> RawServoDeclarationBlockStrong;
}
extern "C" {
pub fn Servo_DeclarationBlock_Equals(a: RawServoDeclarationBlockBorrowed,
b: RawServoDeclarationBlockBorrowed)