Mercurial > audlegacy-plugins
comparison src/modplug/stddefs.h @ 2463:0c2b8d901d47
Fuglyness trimming.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 25 Mar 2008 22:04:31 +0200 |
parents | 1be75b01ded3 |
children |
comparison
equal
deleted
inserted
replaced
2462:492b25415054 | 2463:0c2b8d901d47 |
---|---|
1 /* Modplug XMMS Plugin | 1 /* Modplug XMMS Plugin |
2 * Authors: Kenton Varda <temporal@gauge3d.org> | 2 * Authors: Kenton Varda <temporal@gauge3d.org> |
3 * | 3 * |
4 * This source code is public domain. | 4 * This source code is public domain. |
5 */ | 5 */ |
6 | 6 #ifndef __MODPLUGXMMS_STDDEFS_H__INCLUDED__ |
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__ | 7 #define __MODPLUGXMMS_STDDEFS_H__INCLUDED__ |
13 | 8 |
14 #include <glib.h> | 9 #include <glib.h> |
15 | 10 |
16 #define MODPLUG_CFGID "modplug" | 11 #define MODPLUG_CFGID "modplug" |
17 #define MODPLUG_CONVERT(X) g_convert(X, -1, "UTF-8", "CP850", NULL, NULL, NULL) | 12 #define MODPLUG_CONVERT(X) g_convert(X, -1, "UTF-8", "CP850", NULL, NULL, NULL) |
18 | 13 |
19 //Invalid pointer | 14 // Invalid pointer |
20 #ifndef NULL | 15 #ifndef NULL |
21 #define NULL 0 | 16 #define NULL 0 |
22 #endif | 17 #endif |
23 | 18 |
24 //Standard types. ---------------------------------------- | 19 // Standard types |
25 //These data types are provided because the standard types vary across | |
26 // platforms. For example, long is 64-bit on some 64-bit systems. | |
27 //u = unsigned | |
28 //# = size in bits | |
29 typedef guchar uchar; | 20 typedef guchar uchar; |
30 | 21 |
31 typedef gint8 int8; | 22 typedef gint8 int8; |
32 typedef gint16 int16; | 23 typedef gint16 int16; |
33 typedef gint32 int32; | 24 typedef gint32 int32; |
40 | 31 |
41 typedef float float32; | 32 typedef float float32; |
42 typedef double float64; | 33 typedef double float64; |
43 typedef long double float128; | 34 typedef long double float128; |
44 | 35 |
45 #endif // included | 36 #endif |