[PATCH 1/3] msvcrt: Add _crt_at_quick_exit stub

Fabian Maurer dark.shadow4 at web.de
Mon Jun 11 16:02:28 CDT 2018


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?

> Also it's probably better to return -1 (error) in stub.

Sure can do, although it doesn't matter too much since I later replace it anyways.

Regards,
Fabian Maurer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180611/d75f6934/attachment.html>


More information about the wine-devel mailing list