>     interface nsIFoo : nsISupports {
>         long getLength();
>         void setLength(in long length);
>         long getColor();
>     };

Would these not need to be GetLength and SetLength to be the same as the
below? Or will either do?
 
> The code below will generate the exact same C++ signature, but is more
> script-friendly.
> 
>     interface nsIFoo : nsISupports {
>         attribute long length;
>         readonly attribute long color;
>     };

(I was in some code yesterday that used initial caps for these, and it
worked...)

Gerv

Reply via email to