> 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
- Re: mozilla style doc Chris Waterson
- Re: mozilla style doc John Bandhauer
- Re: mozilla style doc Brendan Eich
- Re: mozilla style doc Gervase Markham
- Re: mozilla style doc Scott Collins
- Re: mozilla style doc Brendan Eich
- Re: mozilla style doc Randell Jesup
- Re: mozilla style doc Gervase Markham
- Re: mozilla style doc Dan Mosedale
- Re: mozilla style doc Judson Valeski
- Re: mozilla style doc Gervase Markham
- Re: mozilla style doc Brendan Eich
- Re: mozilla style doc Simon Fraser
- Re: mozilla style doc Brendan Eich
- Re: mozilla style doc Simon Fraser
