Documentation fixes

Alexandre Julliard julliard at winehq.com
Thu Jul 12 18:15:28 CDT 2001


Patrik Stridvall <ps at 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).

-- 
Alexandre Julliard
julliard at winehq.com




More information about the wine-devel mailing list