[PATCH] rpcrt4/tests: Run RPC tests in both mixed and fully interpreted mode.

Dmitry Timoshkov dmitry at baikal.ru
Wed Jan 23 06:35:34 CST 2019


Jacek Caban <jacek at codeweavers.com> wrote:

> +static int __cdecl (*int_return)(void);
> +static int __cdecl (*square)(int x);
> +static int __cdecl (*sum)(int x, int y);
> +static signed char __cdecl (*sum_char)(signed char x, signed char y);
> +static short __cdecl (*sum_short)(short x, short y);
...

__cdecl should be inside of parentheses so that the calling convention
belongs to the function and not to the return type, otherwise MSVC would
fail to compile such declarations.

-- 
Dmitry.



More information about the wine-devel mailing list