📄 pbc_utils.h
字号:
#ifndef __PBC_UTIL_H__#define __PBC_UTIL_H__// from the ACE project: http://www.cs.wustl.edu/~schmidt/ACE.html// silences warnings, and generates no code for many compilers// See ACE_wrappers/ace/ace/config-macros.h:391#define UNUSED_VAR(a) do { /* nothing */ } while (&a == 0)// I was using this before (and without macros)://#define UNUSED_VAR(a) (void) a//for storing small integers in void *//see http://www.gelato.unsw.edu.au/archives/linux-ia64/0008/0344.htmlstatic inline void *int_to_voidp(int i){ //TODO: this won't work on some platforms //assert(sizeof(long) == sizeof(void *)); return (void *) (long) i;}#endif //__PBC_UTIL_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -