Bug 1302949 - Add a method to serialize a declaration block as a single value; r=Manishearth

MozReview-Commit-ID: 59CCT0P4CBm
This commit is contained in:
Brian Birtles 2016-09-15 16:55:08 +09:00 committed by Manish Goregaokar
parent 61bcc3a2ef
commit 1c78e1cb20
2 changed files with 42 additions and 1 deletions

View file

@ -165,6 +165,7 @@ use gecko_bindings::structs::nsINode;
use gecko_bindings::structs::nsIDocument;
use gecko_bindings::structs::nsIPrincipal;
use gecko_bindings::structs::nsIURI;
use gecko_bindings::structs::nsString;
use gecko_bindings::structs::RawGeckoNode;
use gecko_bindings::structs::RawGeckoElement;
use gecko_bindings::structs::RawGeckoDocument;
@ -399,6 +400,11 @@ extern "C" {
*const ::std::os::raw::c_char,
aLength: u32) -> bool;
}
extern "C" {
pub fn Gecko_Utf8SliceToString(aString: *mut nsString,
aBuffer: *const u8,
aBufferLen: usize);
}
extern "C" {
pub fn Gecko_FontFamilyList_Clear(aList: *mut FontFamilyList);
}