types.h

AwakeMUD-0.8.18B/src/types.h · 756 B

From the archive AwakeMUD-0.8.18B.tar.bz2

Download the archive   « Back to the archive contents

// file: types.h
// author: Andrew Hynek
// contents: basic type definitions

#ifndef __types_h__
#define __types_h__

// gah...don't like em, but they're nice for backwards compatibility
typedef signed char             sbyte;
typedef unsigned char           ubyte;
typedef signed short int        sh_int;
typedef unsigned short int      ush_int;
#if !defined(WIN32) || defined(__CYGWIN_)
typedef char                    byte;
#else
typedef unsigned char u_char;
typedef unsigned short int u_short;
typedef unsigned int u_int;
typedef unsigned char                    byte;
#endif

typedef signed long rnum_t;
typedef signed long vnum_t;

typedef unsigned short  word;
typedef unsigned int  dword;

typedef signed char dir_t;

#endif // ifndef __types_h__

Site Stats

Snippets: 1791
Codebases: 571