📄 types.h
字号:
/******************************************************************************
* Filename : types.h *
* Program : loader. *
* Copyright : Copyright (C) 2001, Young-Su, Ahn. *
* Author : Young-Su, Ahn <nurie@dreamwiz.com> *
* Description : Variable Type. *
* Created at : Wed Mar 13 2001. *
* Based on : *
* Modified by : *
* Modified at : *
******************************************************************************/
/* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _TYPES_H_4782374832742374327423
#define _TYPES_H_4782374832742374327423
typedef unsigned long ulong;
typedef unsigned short ushort;
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long u32;
#ifndef __cplusplus
typedef int bool;
#define true 1
#define false 0
#endif
// print in hex value.
// type= 8 : print in format "ff".
// type=16 : print in format "ffff".
// type=32 : print in format "ffffffff".
typedef enum {
VAR_LONG=32,
VAR_SHORT=16,
VAR_CHAR=8
} VAR_TYPE;
#define NIBBLES_PER_WORD (8)
#ifndef NULL
#define NULL (void *)0
#endif
#endif // end _TYPES_H_4782374832742374327423.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -