⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ps_def.h

📁 我自己写的一个文本阅读器
💻 H
字号:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#ifndef PS_DEF_H_20050601
#define PS_DEF_H_20050601

typedef 	char	 		ps_s8;
typedef unsigned char 		ps_u8;

typedef  short 				ps_s16;
typedef unsigned short 		ps_u16;

typedef int 				ps_s32;
typedef unsigned int 		ps_u32;

//typedef long long  			ps_s64;

typedef char				ps_char;
typedef unsigned char		ps_byte;
typedef ps_char *			ps_string;

typedef int				ps_bool;
typedef int				ps_int; 
typedef unsigned int			ps_uint;
typedef short	int			ps_short;
typedef unsigned short		ps_word;

typedef long				ps_long;
typedef ps_u32				ps_dword;
typedef unsigned long		ps_ulong;
typedef ps_int				ps_ret;

typedef void				ps_void;	
typedef ps_void *			ps_handle;

//#define ST_ALIGN_BYTE	 __attribute__ ((packed))


#define PS_TRUE			1
#define PS_FALSE			0
#define PSS_NULL			((ps_void *)0)


#define min_t(type,a,b)	(((a)<(b))?(a):(b))

//#define PS_LOG
//#define PS_DEBUG_MEMORY 


//#define ps_inline 

#endif		//#define PS_DEF_H_20050601

⌨️ 快捷键说明

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