slbasetype.h

来自「Socketlib: 一个轻量级的C++ 封装Socket C API 网络编程」· C头文件 代码 · 共 40 行

H
40
字号
//**********************************************************************
//
// Copyright (C) 2005-2007 Zhang bao yuan(bolidezhang@gmail.com).
// All rights reserved.
//
// This copy of Socketlib is licensed to you under the terms described 
// in the LICENSE.txt file included in this distribution.
//
//**********************************************************************

#ifndef SOCKETLIB_BASETYPE_H
#define SOCKETLIB_BASETYPE_H
#pragma once

typedef unsigned char byte;
typedef char  int8;
typedef short int16;
typedef int   int32;
typedef unsigned char  uint8;
typedef unsigned short uint16;
typedef unsigned int   uint32;
typedef unsigned long  ulong;
typedef unsigned short ushort;
typedef float	f32;
typedef double	f64;

#ifdef _WIN32
	typedef __int64				int64;
	typedef unsigned __int64	uint64;
	#if _MSC_VER <= 1200
		typedef int  bool;
		typedef 0    false;
		typedef 1    true;
	#endif
#else
	typedef long long			int64;
	typedef unsigned long long	uint64;
#endif

#endif

⌨️ 快捷键说明

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