Neil <[email protected]> wrote:
> I can't help wondering who would need to implement only nsISupports. It 
> can't be for the refcounting, because you can just use inline 
> refcounting. And you've got no way of telling whether an arbitrary 
> nsISupports is your object or not.

Well, except that in the case of callbacks and "context" arguments you do know
what object you're getting, however, you do have to play by XPCOM rules. The
nsMemoryReporterManager case could use an nsSupportsPRInt64, but if that was a
real object with more than just an int64_t, it'd need its own class.
-- 
Blake Kaplan
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to