Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/xpcom/base/nsISupports.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsISupports",
base: None,
sync: false,
methods: Ok(&[
/* void QueryInterface (in nsIIDRef aIID, [iid_is (aIID), retval] out nsQIResult aInstancePtr); */
Method {
name: "QueryInterface",
params: &[Param { name: "aIID", ty: "*const nsIID" }, Param { name: "aInstancePtr", ty: "*mut *mut libc::c_void" }],
ret: "::nserror::nsresult",
},
/* [noscript,notxpcom] MozExternalRefCountType AddRef (); */
Method {
name: "AddRef",
params: &[],
ret: "MozExternalRefCountType",
},
/* [noscript,notxpcom] MozExternalRefCountType Release (); */
Method {
name: "Release",
params: &[],
ret: "MozExternalRefCountType",
},
]),
},
]; D}