On Wed, 6 Nov 2024 04:40:24 GMT, Julian Waters <jwat...@openjdk.org> wrote:

> I think you may be throwing the baby out with the bath water when it comes to 
> `__stdcall`. It may be that 32-bit requires `__stdcall` but I don't see 
> anything that states `__stdcall` is ONLY for 32-bit!

stdcall and cdecl are 32-bit Windows calling conventions. On x64 and arm64, as 
on all other platforms we support, there is just one calling convention. See 
https://en.wikipedia.org/wiki/X86_calling_conventions#Microsoft_x64_calling_convention.

I am sure __stdcall is ignored by the compiler on x64 or arm64.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/21744#issuecomment-2459078526

Reply via email to