【发布时间】:2018-07-19 17:17:48
【问题描述】:
使用 gcc 版本 4.1.2,针对 Linux,无法弄清楚如何指定 stdcall。
发现了很多看似相关的答案,都说使用以下内容:
typedef void (__stdcall *int)(int);
但这不起作用。
【问题讨论】:
-
问题stackoverflow.com/questions/3054257/is-there-stdcall-in-linux 没有给出任何需要的答案,而stackoverflow.com/questions/13095869/… 在谷歌搜索时无论出于何种原因都很难找到并且没有完整的答案。跨度>
-
第二个(我更改了顺序)列出的答案可能对将来研究类似问题的人有用。