Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/components/ml/nsIMLUtils.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIMLUtils",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute unsigned long long totalPhysicalMemory; */
Method {
name: "GetTotalPhysicalMemory",
params: &[Param { name: "aTotalPhysicalMemory", ty: "*mut u64" }],
ret: "::nserror::nsresult",
},
/* readonly attribute unsigned long long availablePhysicalMemory; */
Method {
name: "GetAvailablePhysicalMemory",
params: &[Param { name: "aAvailablePhysicalMemory", ty: "*mut u64" }],
ret: "::nserror::nsresult",
},
/* octet getOptimalCPUConcurrency (); */
Method {
name: "GetOptimalCPUConcurrency",
params: &[Param { name: "_retval", ty: "*mut u8" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}