Add binding function for setting property

This commit is contained in:
Xidorn Quan 2016-11-03 15:03:48 +11:00
parent 9ef1292957
commit edec344b15
2 changed files with 30 additions and 0 deletions

View file

@ -976,6 +976,14 @@ extern "C" {
is_custom: bool)
-> bool;
}
extern "C" {
pub fn Servo_DeclarationBlock_SetProperty(declarations:
RawServoDeclarationBlockBorrowed,
property: *mut nsIAtom,
is_custom: bool,
value: *mut nsACString_internal,
is_important: bool) -> bool;
}
extern "C" {
pub fn Servo_DeclarationBlock_RemoveProperty(declarations:
RawServoDeclarationBlockBorrowed,