From: John Bandhauer <[EMAIL PROTECTED]>
Subject: Re: xptinfo question : nsCID and nsCIDPtr
Date: Sun, 19 Aug 2001 03:55:05 -0700
> nsCID (as opposed to nsCIDPtr or nsCIDRef) is a new aberration
> and was not originally intended to be supported in xpidl (as I
> see things). The non-ptr version is certainly not supported for
> 'in' params because that entails passing a
> larger-than-pointer-sized structure by value. And xptcall will
> not support that (and it is bad form anyway). Some non-ptr usage
> has snuck into the tree and, unfortunately, the current xpidl
> compiler is not properly setting the ptr flag in the typelib for
> this construct. There are fixes that will land soon to deal with
> these cases.
>
> Please see the discussion and patches in...
>
> http://bugzilla.mozilla.org/show_bug.cgi?id=93792
Thank you for the pointer.
So, the nsIClassInfo::classID will be changed to nsCIDPtr soon,
And my problem (at hand) will go.
BTW, I added myself to cc list of this bug, so that I can update
my code when non IsPointer() version of nsID is supported. Is
this (self nominating cc list) allowed in Bugzilla? Sorry, if
not, I am new to Bugzilla.
>
> John.
>
Kenichi Komiya.