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(&[
/* boolean hasEnoughMemoryToInfer (in unsigned long long aModelSizeInMemory, in unsigned long aThresholdPercentage, in unsigned long long aMinMemoryRequirement); */
Method {
name: "HasEnoughMemoryToInfer",
params: &[Param { name: "aModelSizeInMemory", ty: "u64" }, Param { name: "aThresholdPercentage", ty: "u32" }, Param { name: "aMinMemoryRequirement", ty: "u64" }, Param { name: "_retval", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}