On Fri, 19 Jul 2002, Patrik Stridvall wrote: [...]
Correct. Patch for this and other problem with winapi_extract coming soon.
Thanks a lot of the patch, it works much better now.
I noticed another 'problem' of sorts: winapi_extract does not count forward functions. For instance for msvcrt20 it says:
*.c: msvcrt20: 427 of 429 functions are stubs (427 real, 0 pseudo)
But in fact there are also 697 forward functions. So I began checking in more details and found other inconsistencies. For instance for comctl32 it says:
*.c: comctl32: 107 of 244 functions are stubs (88 real, 19 pseudo)
But comctl32.spec has only 197 lines so it cannot declare 244 functions. Also, a grep stub comctl32.spec | wc -l says there are only 24 matches (one is commented out). So I tweaked things a bit and arrived at the attached patch. I'm not sure I did things right. Does it make sense?
With the patch, I get the following statistics:
*.c: comctl32: 42 of 179 functions are stubs (23 real, 19 pseudo) and 0 are forwards
And for msvcrt20: *.c: msvcrt20: 427 of 1126 functions are stubs (427 real, 0 pseudo) and 697 are forwards
-- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ I haven't lost my mind, it's backed up on tape around here somewhere...