Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/xpcom/base/nsIWeakReference.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIWeakReference",
base: Some("nsISupports"),
sync: false,
methods: Err("Rust only supports [ref] / [ptr] native types"),
},
Interface {
name: "nsISupportsWeakReference",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* nsIWeakReference GetWeakReference (); */
Method {
name: "GetWeakReference",
params: &[Param { name: "_retval", ty: "*mut *const nsIWeakReference" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}