15 Sep
2023
15 Sep
'23
6:46 p.m.
Zebediah Figura (@zfigura) commented about dlls/user32/win.c:
- /********************************************************************** * GetWindowLongA (USER32.@) */ -LONG WINAPI GetWindowLongA( HWND hwnd, INT offset ) + +#ifdef __i386__ +__ASM_STDCALL_FUNC(GetWindowLongA, 8, + "movl.s %edi, %edi\n" + "pushl %ebp\n" + "movl.s %esp, %ebp\n" + "pushl $-2\n" + "addl $4, %esp\n" + "popl %ebp\n" + "jmp " __ASM_STDCALL("RealGetWindowLongA", 8) "\n")
Can we give this a name that makes it look less like a Win32 function? Something like get_window_longA() would probably be better. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3855#note_45555