Mercurial > audlegacy-plugins
comparison src/Input/modplug/stddefs.h @ 0:13389e613d67 trunk
[svn] - initial import of audacious-plugins tree (lots to do)
author | nenolod |
---|---|
date | Mon, 18 Sep 2006 01:11:49 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:13389e613d67 |
---|---|
1 /* Modplug XMMS Plugin | |
2 * Authors: Kenton Varda <temporal@gauge3d.org> | |
3 * | |
4 * This source code is public domain. | |
5 */ | |
6 | |
7 // stddefs.h: Standard defs to streamline coding style. | |
8 // | |
9 ////////////////////////////////////////////////////////////////////// | |
10 | |
11 #if !defined(__MODPLUGXMMS_STDDEFS_H__INCLUDED__) | |
12 #define __MODPLUGXMMS_STDDEFS_H__INCLUDED__ | |
13 | |
14 //Invalid pointer | |
15 #ifndef NULL | |
16 #define NULL 0 | |
17 #endif | |
18 | |
19 //Standard types. ---------------------------------------- | |
20 //These data types are provided because the standard types vary across | |
21 // platforms. For example, long is 64-bit on some 64-bit systems. | |
22 //u = unsigned | |
23 //# = size in bits | |
24 typedef unsigned char uchar; | |
25 | |
26 typedef char int8; | |
27 typedef short int16; | |
28 typedef int int32; | |
29 typedef long long int64; | |
30 | |
31 typedef unsigned char uint8; | |
32 typedef unsigned short uint16; | |
33 typedef unsigned int uint32; | |
34 typedef unsigned long long uint64; | |
35 | |
36 typedef float float32; | |
37 typedef double float64; | |
38 typedef long double float128; | |
39 | |
40 #endif // included |