Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/intl/uconv/nsIScriptableUConv.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIScriptableUnicodeConverter",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* ACString ConvertFromUnicode (in AString aSrc); */
Method {
name: "ConvertFromUnicode",
params: &[Param { name: "aSrc", ty: "*const ::nsstring::nsAString" }, Param { name: "_retval", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* ACString Finish (); */
Method {
name: "Finish",
params: &[Param { name: "_retval", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* AString ConvertToUnicode (in ACString aSrc); */
Method {
name: "ConvertToUnicode",
params: &[Param { name: "aSrc", ty: "*const ::nsstring::nsACString" }, Param { name: "_retval", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* attribute ACString charset; */
Method {
name: "GetCharset",
params: &[Param { name: "aCharset", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetCharset",
params: &[Param { name: "aCharset", ty: "*const ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* attribute boolean isInternal; */
Method {
name: "GetIsInternal",
params: &[Param { name: "aIsInternal", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetIsInternal",
params: &[Param { name: "aIsInternal", ty: "bool" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}