What is the purpose of call conventions and which one to use?

1

What are the conventions for calling __fastcall, __stdcall, __thiscall, __cdecl, __fastcall, and how do I know which one to use?

For example, in some function that needs to be called faster (I could use inline but I'm avoiding it because of compilation errors), the name would use __fastcall, but I do not know if that's what it actually does or if it may cause some function problem.

    
asked by anonymous 02.11.2017 / 15:30

1 answer

0

This is for the compiler to generate correct code to pass parameters to a function even though the routine has been compiled by another compiler. You can find more information about this here: link

    
02.11.2017 / 21:20