📄 typedef.h
字号:
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2001, TongFangAiDe Ltd.
// All rights reserved.
//
// File Name: TypeDEF.h
// Identifier: default type
// Summary:
//
// Version: 1.0
// Author: Xie Jingbo
// Date: 2005-9-2
///////////////////////////////////////////////////////////////////////////////
#ifndef TypeDEF
#define TypeDEF
#ifdef __cplusplus
extern "C"
{
#endif
#ifndef __cplusplus
typedef unsigned char bool;
#define TRUE 1
#define FALSE 0
#endif
#ifndef USER_TYPE
#define USER_TYPE
typedef unsigned char uchar;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef unsigned long ulong;
#endif
#ifndef YES
#define YES 1
#define NO 0
#endif
#ifndef ON
#define ON 1
#define OFF 0
#endif
#ifndef NULL
#define NULL (void *)0
#endif
#define max(a,b) (((a) > (b)) ? (a) : (b))
#define min(a,b) (((a) < (b)) ? (a) : (b))
#define FARSTR unsigned char far *
#ifdef __cplusplus
}
#endif
#endif
///////////////////////////////////////////////////////////////////////////////
// The end.
///////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -