...惯例一般包括以下三方面的内容:· 函数参数的传递顺序和方式· 栈的维护方式· 名字修饰(Name-mangling)的策略在C语言里,存在着多个调用惯例,而默认的调用惯例是:cdecl。任何一个没有显示指定调用惯例的函数都默认是cdecl惯例。
基于1个网页-相关网页
name mangling 名称重整 ; 名字改编 ; 名称改编 ; 名字粉碎
name mangling and namespace 名字压延和名字空间
Private name mangling 私有变量轧压
In the previous DLL sample, we had to export each function of the object, and we depended on the name-mangling scheme of the compiler.
在以前的DLL例子里,我们必须导出对象里每个函数,且我们依赖于编译器的命名排编。
There is no standard for name-mangling, so you have to provide objects for each compiler that a potential client might want to use for their implementation.
不存在标准的命名排编,所以你不得不提供为每个编译器服务的对象,潜在的客户端需要用什么编译器实现,你就要对应处理一下。
A few parameters affect mangling of file name case.
有一些参数会影响名称大小写的改编。
应用推荐