__stdcall, __fastcall & __cdecl

Started by
10 comments, last by LiquidNRG 21 years, 7 months ago
quote:Original post by Fruny
It does not default to "__stdcall", which is only ''standard'' for Microsoft APIs (think: otherwise they wouldn''t have to state that they use the calling convention).

Did anyone say otherwise?



[ MSVC Fixes | STL | SDL | Game AI | Sockets | C++ Faq Lite | Boost | Asking Questions | Organising code files | My stuff ]
Advertisement
quote:Original post by LessBread
My understanding is that in C++, member functions default to __stdcall - but that is likely compiler dependent.


Yup

Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan

This topic is closed to new replies.

Advertisement