On Mon Sep 4 15:56:32 2023 +0000, Jacek Caban wrote:
You could just call it from `dispex_query_interface` and keep outer pointer valid for now. This should simplify the transition and avoid all those `if(This->outer)` branches. Once all objects' QueryInterface implementations simply forward to `dispex_query_interface`, it will be easier to switch.
Sorry, I don't get it. What's the point of calling it from `dispex_query_interface`? It's currently used in custom QI implementations, and the whole point is to get rid of those now, one at a time.
Do you mean to just have a `dispex_query_interface` call in each QueryInterface, but move all the other interfaces to the vtbl method? I don't think it will be exactly simpler than forwarding, but at least it keeps `outer` valid I guess.