opaque0.c
来自「这个是LINUX下的GDB调度工具的源码」· C语言 代码 · 共 24 行
C
24 行
/* Note that struct foo is opaque (never defined) in this file. This is allowed by C since this file does not reference any members of the structure. The debugger needs to be able to associate this opaque structure definition with the full definition in another file.*/struct foo *foop;extern struct foo *getfoo ();#ifdef PROTOTYPESextern void putfoo (struct foo *foop);#endifint main (){#ifdef usestubs set_debug_traps(); breakpoint();#endif foop = getfoo (); putfoo (foop); return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?