xstuff.h

来自「一个Xpdf应用的例子」· C头文件 代码 · 共 43 行

H
43
字号
#ifndef NULL#define NULL 0#endif#ifndef XMD_H#define XMD_H 1#include "types.h"/* * Bitfield suffixes for the protocol structure elements, if you * need them.  Note that bitfields are not guarranteed to be signed * (or even unsigned) according to ANSI C. */#ifdef WORD64#define B32 :32#define B16 :16#else#define B32#define B16#endiftypedef struct {    SHORT leftSideBearing B16,	  rightSideBearing B16,	  characterWidth B16,	  ascent B16,	  descent B16;    USHORT attributes;} xCharInfo;#endif /*  XMD_H */#ifndef _FS_PROTO_H_#define _FS_PROTO_H_typedef struct {    USHORT	x_resolution B16;    USHORT	y_resolution B16;    USHORT	point_size B16;}	    fsResolution;#endif /* _FS_PROTO_H_ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?