Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/xpcom/threads/nsIThreadShutdown.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIThreadShutdown",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void onCompletion (in nsIRunnable aEvent); */
Method {
name: "OnCompletion",
params: &[Param { name: "aEvent", ty: "*const nsIRunnable" }],
ret: "::nserror::nsresult",
},
/* [infallible] readonly attribute boolean completed; */
Method {
name: "GetCompleted",
params: &[Param { name: "aCompleted", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* void stopWaitingAndLeakThread (); */
Method {
name: "StopWaitingAndLeakThread",
params: &[],
ret: "::nserror::nsresult",
},
]),
},
]; D}