On Mon Nov 27 19:45:25 2023 +0000, Rémi Bernon wrote:
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.
Thanks for the feedback Rémi. I'm hesitant to have debug functions with the same name and different implementations. I did just push a new version that calls the function `debugstr_reftime` because that seems to be the most common name for this time format.