Table of Contents Previous topic Next topic
C/C++ COMPILER->Function Calling Conventions->Introduction
The way that a function is called and returns is its calling convention. The Crossware ColdFire C compiler supports four calling conventions:
Traditional | This is the calling convention used unless the Advanced Features of the compiler are enabled. |
__cdecl | This is the default calling convention used when the Advanced Features of the compiler are enabled. |
__fastcall | This is the calling convention used when the Advanced Features of the compiler are enabled and /Gr option is used. |
__stdcall | This is the calling convention used when the Advanced Features of the compiler are enabled and /Gz option is used. |