winapi_check and 16 bit -register functions

Alexandre Julliard julliard at winehq.org
Fri Oct 22 16:06:16 CDT 2004


Francois Gouget <fgouget at free.fr> writes:

> Yesterday's winapi_check path warns about 32 bit -register functions
> that are implemented by stdcall functions, but not about 16 bit
> -register functions implemented by stdcall functions. The reason is
> that for the latter the calling convention is set to 'pascal' or
> 'pascal16' in winapi_check. However I suspect these too should be
> implemented as cdecl.

They could, but that will require some changes to the .spec.c code,
right now the calling convention is based on the type specified in the
spec file, so pascal register functions have to be WINAPI.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list