Jon Smirl wrote:
> 
> So what do you do when someone passes you a const pointer to an interface?

Cast away const. Even if xpidl had const support, mappings to
languages without that support would essentially be casting away
const anyway.

> Is the general rule not to pass around const interface pointers? 

Sure, if xpidl does not support an idiom then you're not likely
to see the idiom in any frozen (aka supported) interface.

> There is
> some older code in Mozilla that is doing this.

True enough.

John.

> 
> --
> Jon Smirl
> [EMAIL PROTECTED]
> .

Reply via email to