union-init.h
来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C头文件 代码 · 共 35 行
H
35 行
/* Function definitions that are used by multiple tests. */#define INIT_CHAR(TYPE) \ void init##TYPE (TYPE *p, int i) \ { p->c = (char)i; }INIT_CHAR(Ucs)INIT_CHAR(Uci)INIT_CHAR(Ucl)INIT_CHAR(Ucll)#define INIT_SHORT(TYPE) \ void init##TYPE (TYPE *p, int i) \ { p->s = (short)i; }INIT_SHORT(Usi)INIT_SHORT(Usl)INIT_SHORT(Usll)#define INIT_INT(TYPE) \ void init##TYPE (TYPE *p, int i) \ { p->i = i; }INIT_INT(Uil)INIT_INT(Uill)#define INIT_LONG(TYPE) \ void init##TYPE (TYPE *p, int i) \ { p->l = (long)i; }INIT_LONG(Ulll)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?