some one please tell me how to change the default calling convention in c?
+1
A:
This largely depends on your compiler, toolchain, and platform. You will need to be more specific on what your environment is, and what you wish to change to.
Yann Ramin
2010-01-13 04:59:37
+4
A:
Calling conventions are not specified by the language. They are extensions to your compiler.
That said, commonly you do something like:
void __fastcall my_func(void);
But this is completely dependent on your compiler and platform.
GMan
2010-01-13 05:01:15