cdecl.h
来自「关于linux环境下的nasm代码的生成和使用」· C头文件 代码 · 共 29 行
H
29 行
#ifndef CDECL_HEADER_FILE#define CDECL_HEADER_FILE/* * Define macros to specify the standard C calling convention * The macros are designed so that they will work with all * supported C/C++ compilers. * * To use define your function prototype like this: * * return_type PRE_CDECL func_name( args ) POST_CDECL; * * For example: * * int PRE_CDECL f( int x, int y) POST_CDECL; */#if defined(__GNUC__)# define PRE_CDECL# define POST_CDECL __attribute__((cdecl))#else# define PRE_CDECL __cdecl# define POST_CDECL#endif#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?