Microsoft Specific
The __fastcall calling convention specifies that arguments to functions are to be passed in registers, when possible. The following list shows the implementation of this calling convention.
Note Future compiler versions may use different registers to store parameters.
Using the /Gr compiler option causes each function in the module to compile as fastcall unless the function is declared with a conflicting attribute, or the name of the function is main.
main
In the following example, the function named DeleteAggrWrapper is passed arguments in registers:
DeleteAggrWrapper
posted on 2009-11-12 21:57 小默 阅读(269) 评论(0) 编辑 收藏 引用 所属分类: Language