On September 11, 2002 10:23 am, Patrik Stridvall wrote:
However how do know whether it is IN/OUT or OUT?
Excellent point. There aren't that many IN/OUT cases anyway (can you produce a count?),
Well as I said a lot of API use LPSTR when it really should use LPCSTR so the potential IO/OUT cases are quite a few.
but we would need to add some metainfo at the source level. No big deal, really...
You mean just add a OUT before the type. That is quite easy to parse.