⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pbc_utils.h

📁 这是一个C的源代码
💻 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 + -