[PATCH 1/3] msvcrt: Add _crt_at_quick_exit stub

Piotr Caban piotr.caban at gmail.com
Mon Jun 11 16:19:19 CDT 2018


On 06/11/18 23:02, Fabian Maurer wrote:
> Hi Piotr,
> 
>  > The func argument should probably use CDECL calling convention (not that
> 
>  > it really matters in case of no-arguments function).
> 
> I did it like MSVCRT__crt_atexit did it, first pass the func like this 
> and then cast to MSVCRT__onexit_t. Should I make it MSVCRT__onexit_t 
> right away?
I think it's better to keep function header the same as in native. Could 
you please also change MSVCRT__crt_atexit header while you're at it?

Thanks,
Piotr



More information about the wine-devel mailing list