Patrik Stridvall ps@leissner.se writes:
Like:
/***********************************************************************
strcpy (MSVCRT.@)
*/ #if 0 /* Suppress warnings */ extern char *strcpy(char *dest, const char *src); #endif
Perhaps we could do the same with atom functions and lstrcmpi? The #if 0 #endif isn't even needed for them I believe.
That's quite ugly IMO. As long as we require comments, we might as well put everything explicitly in the comment, something like:
/* ##spec## msvcrt "@ cdecl strcpy(ptr str) strcpy" */
(we can probably come up with a better syntax, but you get the idea). Then we can simply grep for '##spec##' and extract everything into the spec file. We can do the same for forwards etc. (and in fact we could do it for normal entry points as well).