__cdecl, __stdcall and __fastcall are all called the exact same way?

前端 未结 2 1833
清歌不尽
清歌不尽 2020-12-17 23:08

I am using Visual C++ 2010, and MASM as my x64-Assembler.
This is my C++ code:

// include directive
#include \"stdafx.h\"
// functions
extern \"C\" int         


        
2条回答
  •  别那么骄傲
    2020-12-17 23:52

    As far as i know x64 only uses the __fastcall convention. __cdecl and stdcall will just be compiled as __fastcall.

提交回复
热议问题