e32def.h 宏定义
来源:互联网 发布:剑三捏脸数据魔道祖师 编辑:程序博客网 时间:2024/05/29 15:42
These are defined in e32def.h as follows:
#define GLREF_D extern
#define GLDEF_D
#define LOCAL_D static
#define GLREF_C extern
#define GLDEF_C
#define LOCAL_C static
The _C and _D suffixes are an EPOC convention. _D indicates a declaration (Data), _C indicates a definition (Code).
As static is an overloaded word in C++ (i.e. it's used to mean more than one thing), we use the more meaningful termsLOCAL_C and LOCAL_D instead.
GLREF_C and GLREF_D, by contrast, are used to indicated GLobal REFerences, i.e. extern.
Finally GLDEF_C and GLDEF_D indicate GLobal DEFinitions. These terms don't have a formal definition but are used as markers for functions or varia
这些宏被定义在 e32def.h 头文件中,如下:
#define GLREF_D extern
#define GLDEF_D
#define LOCAL_D static
#define GLREF_C extern
#define GLDEF_C
#define LOCAL_C static
后缀 _D 和 _C 是 EPOC 的的一个约定,_D 指数据声明(declaration of Data),_C 指代码定义(definition of Code)。
LOCAL_C 和 LOCAL_D ,被 static 所取代。
GLREF_C 和 GLREF_D 被指定为全局引用(GLobal REFerence):extern 。
GLDEF_C 和 GLDEF_D 指定了一个全局定义(GLobal DEFination)。这两个宏没有给出一个固定的定义,但是它们被作为函数和变量的记号。
- e32def.h 宏定义
- winsock.h ws2def.h 宏重定义 解决方法
- 关于CCPlatform Macro.h中的宏定义
- pcap.h中WIN32宏定义问题
- errno.h的定义
- signal.h中的宏定义SIG_DFL及SIG_IGN
- Linux学习------分析list.h 之 宏定义部分
- ffmpeg 0.10由于pixfmt.h 宏定义冲突bug终止
- stl_config.h中和编译器相关的一些宏定义
- c++ <limits.h>中各种数据最大值最小值宏定义
- 宏定义在.h和.cpp中的差别
- linux内核头文件kdev_t.h 宏定义解析
- linux/module.h 中的一些MODULE宏定义
- 芯片型号的选择-stm32f10x.h中预处理宏定义
- /usr/include/asm-generic/errno-base.h和errno.h对errno值的宏定义
- inttypes.h 和 stdint.h 兼容定义
- winsock2.h出现重定义
- FLT_EPSILON定义在<float.h>
- 听力
- debian5从光盘安装SSH方法
- Device /dev/ttyS0 is locked.
- Apache2.2.16,php5.3.3,mysql5.1.50环境配置
- Hadoop常见问题已经解决方法
- e32def.h 宏定义
- winform 窗体传值 转http://www.cnblogs.com/kivenhou/archive/2010/09/07/1820950.html
- apache2.2 盗链问题(转http://www.javaeye.com/topic/107402)
- 拷贝数据库文件
- const和static的使用
- VS2010 中使用 .Net Framework 4.0 无法创建 Web Service ?
- 模板[点在多边形内的判断]
- select option 操作
- 闲话专利(二)