Mercurial > audlegacy-plugins
diff src/modplug/stddefs.h @ 12:3da1b8942b8b trunk
[svn] - remove src/Input src/Output src/Effect src/General src/Visualization src/Container
author | nenolod |
---|---|
date | Mon, 18 Sep 2006 03:14:20 -0700 |
parents | src/Input/modplug/stddefs.h@13389e613d67 |
children | 8f1c26966b61 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/modplug/stddefs.h Mon Sep 18 03:14:20 2006 -0700 @@ -0,0 +1,40 @@ +/* Modplug XMMS Plugin + * Authors: Kenton Varda <temporal@gauge3d.org> + * + * This source code is public domain. + */ + +// stddefs.h: Standard defs to streamline coding style. +// +////////////////////////////////////////////////////////////////////// + +#if !defined(__MODPLUGXMMS_STDDEFS_H__INCLUDED__) +#define __MODPLUGXMMS_STDDEFS_H__INCLUDED__ + +//Invalid pointer +#ifndef NULL +#define NULL 0 +#endif + +//Standard types. ---------------------------------------- +//These data types are provided because the standard types vary across +// platforms. For example, long is 64-bit on some 64-bit systems. +//u = unsigned +//# = size in bits +typedef unsigned char uchar; + +typedef char int8; +typedef short int16; +typedef int int32; +typedef long long int64; + +typedef unsigned char uint8; +typedef unsigned short uint16; +typedef unsigned int uint32; +typedef unsigned long long uint64; + +typedef float float32; +typedef double float64; +typedef long double float128; + +#endif // included