Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/protocol/http/nsICORSPreflightCache.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsICORSPreflightCache",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* Array<nsICORSPreflightCacheEntry> getEntries (in nsIPrincipal principal); */
Method {
name: "GetEntries",
params: &[Param { name: "principal", ty: "*const nsIPrincipal" }, Param { name: "_retval", ty: "*mut thin_vec::ThinVec<Option<RefPtr<nsICORSPreflightCacheEntry>>>" }],
ret: "::nserror::nsresult",
},
/* void clearEntry (in nsICORSPreflightCacheEntry entry); */
Method {
name: "ClearEntry",
params: &[Param { name: "entry", ty: "*const nsICORSPreflightCacheEntry" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}