Alexander Mitin wrote:
>> Getting a JSContext requires unfrozen APIs. That said - since the
>> interfaces get a new IID when they get changed, you can just QI to the
>> various IIDs that this interface has in the various Mozilla versions and
>> use the one where it doesn't return failure/null.
> Thanks for your answer. But what about binary compatibility? What if I
> link
> my shared lib against latest mozilla from trunk and then run my
> application, say, against mozilla 1.7.12?

Like I said, if you want binary compat between 1.7 and trunk, then you 
need to QI that object against both interfaces and use the one that 
succeeds.

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to