📄 compiler.h
字号:
#ifndef _COMPILER_H_
#define _COMPILER_H_
#define NULL ((void*)0)
typedef unsigned char uchar ;
typedef unsigned char byte ; // neu
typedef unsigned int word ; // neu
typedef unsigned long ulong ;
#define APIFUNCATTR
#define EXPORTATTR
#define VERSION2UNSIGNED8(main,sub) ((unsigned char)(((main) & 7) << 5) | ((sub) & 0x1f))
// Anzahl der Receive-Messages
#define MAX_RCVMSG 16
/*** fehlende Standardmakros ***/
#ifndef min
#define min(a,b) ((a) < (b) ? (a) : (b))
#define max(a,b) ((a) > (b) ? (a) : (b))
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -