Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/xpcom/io/nsIObjectOutputStream.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIObjectOutputStream",
base: Some("nsIBinaryOutputStream"),
sync: false,
methods: Ok(&[
/* void writeObject (in nsISupports aObject, in boolean aIsStrongRef); */
Method {
name: "WriteObject",
params: &[Param { name: "aObject", ty: "*const nsISupports" }, Param { name: "aIsStrongRef", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* void writeSingleRefObject (in nsISupports aObject); */
Method {
name: "WriteSingleRefObject",
params: &[Param { name: "aObject", ty: "*const nsISupports" }],
ret: "::nserror::nsresult",
},
/* void writeCompoundObject (in nsISupports aObject, in nsIIDRef aIID, in boolean aIsStrongRef); */
Method {
name: "WriteCompoundObject",
params: &[Param { name: "aObject", ty: "*const nsISupports" }, Param { name: "aIID", ty: "*const nsIID" }, Param { name: "aIsStrongRef", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* void writeID (in nsIDRef aID); */
Method {
name: "WriteID",
params: &[Param { name: "aID", ty: "*const nsID" }],
ret: "::nserror::nsresult",
},
/* [notxpcom] charPtr getBuffer (in uint32_t aLength, in uint32_t aAlignMask); */
Method {
name: "GetBuffer",
params: &[Param { name: "aLength", ty: "u32" }, Param { name: "aAlignMask", ty: "u32" }],
ret: "*mut libc::c_char",
},
/* [notxpcom] void putBuffer (in charPtr aBuffer, in uint32_t aLength); */
Method {
name: "PutBuffer",
params: &[Param { name: "aBuffer", ty: "*mut libc::c_char" }, Param { name: "aLength", ty: "u32" }],
ret: "libc::c_void",
},
]),
},
]; D}