home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
bin
/
p205.zip
/
exesrc
/
typedefs.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-12-18
|
995b
|
24 lines
/*****************************************************************************/
/* Copyright (c) 1994 by Jyrki Salmi <jytasa@jyu.fi> */
/* You may modify, recompile and distribute this file freely. */
/*****************************************************************************/
/*
These are much smaller than "unsigned long" etc to write and
make porting to systems with different word sizes a lot easier task.
*/
#ifndef _TYPEDEFS_H_
#define _TYPEDEFS_H_
typedef unsigned long U32; /* 32-bit unsigned number */
typedef signed long S32; /* 32-bit signed number */
typedef unsigned short U16; /* 16-bit unsigned number */
typedef signed short S16; /* 16-bit signed number */
typedef unsigned char U8; /* 8-bit unsigned number */
typedef signed char S8; /* 8-bit signed number */
typedef unsigned long BOOLEAN; /* 32-bit boolean variable, zero for false */
/* and any other for true */
#endif /* _TYPEDEFS_H_ */