Pete Collins wrote:
> 
> > nsAReadbleString.h/nsAwritableString.h. I guess the new plan is to tell
> > readable from writable with the const qualifier. Should the XPIDL compiler
> > be changed to reflect this?
> 
> Funny, i noticed the same thing the other day.
> 
> It should be changed from:
> 
> const nsAReadableString & foo
> to
> const nsAString& foo
> 
> and
> 
> nsAWritableString & foo
> to
> nsAString& foo

Should it? these distinctions were once *required*. Now they are
superfluous. Perhaps they are now completely harmless. Is it
really better to make the change or leave it? Are you certain
that no implementations or uses of the interfaces will need to be
fixed to match the changed signitures. I'm not certain that some
compilers might not choke if we only changed the generated
headers.

John.

> 
> --pete

Reply via email to