On Mon Nov 27 19:27:07 2023 +0000, Nikolay Sivov wrote:
Maybe we can have this helper in strmbase.h, if mediafoundation modules still build after including that. If it's difficult, we can still have it for quartz modules in this header.
Imo winecrt0 would be a good place to put all these debugstr implementations.
Then you could just declare that function as extern, anywhere, and it would resolve the right object.
They don't have to all be in the same source, for instance to split debugstr for different subsystems.
This also makes them usable in tests and avoid very painful recompilation (because touching wine/debug.h) if for some reason the implementation needs to be changed.