Hi,
I have one newbie quetion about the ownership semantics.
I noticed that following method in nsIInterfaceInfo.idl treats
returned value in the way I do not understand.
nsIIDPtr getIIDForParam(in PRUint16 methodIndex,
[const] in nsXPTParamInfoPtr param);
In my naive understanding, all out param (and returned value for that
matter) should be freed by the caller (unless they are shared). But
the implementation and clients of this interface seem to agree that
the retruned nsIIDPtr need not be freed by caller.
I must be overlooking something obvious. Could someone enlighten me?
Regards,
Kenichi Komiya.