annotate src/modplug/stddefs.h @ 2215:9ddfa78b43a0

- now container plugins feed only valid uri to the core. - fix a bug in pls plugin which prevented writing pls playlist.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Fri, 07 Dec 2007 01:13:34 +0900
parents 1be75b01ded3
children 0c2b8d901d47
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1 /* Modplug XMMS Plugin
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
2 * Authors: Kenton Varda <temporal@gauge3d.org>
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
3 *
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
4 * This source code is public domain.
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
5 */
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
6
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
7 // stddefs.h: Standard defs to streamline coding style.
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
8 //
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
9 //////////////////////////////////////////////////////////////////////
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
10
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
11 #if !defined(__MODPLUGXMMS_STDDEFS_H__INCLUDED__)
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
12 #define __MODPLUGXMMS_STDDEFS_H__INCLUDED__
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
13
2122
1be75b01ded3 Use GLib types.
Matti Hamalainen <ccr@tnsp.org>
parents: 2121
diff changeset
14 #include <glib.h>
1be75b01ded3 Use GLib types.
Matti Hamalainen <ccr@tnsp.org>
parents: 2121
diff changeset
15
2121
8f1c26966b61 Assume DOS codepage 850 to be the default charset used in most modules.
Matti Hamalainen <ccr@tnsp.org>
parents: 12
diff changeset
16 #define MODPLUG_CFGID "modplug"
8f1c26966b61 Assume DOS codepage 850 to be the default charset used in most modules.
Matti Hamalainen <ccr@tnsp.org>
parents: 12
diff changeset
17 #define MODPLUG_CONVERT(X) g_convert(X, -1, "UTF-8", "CP850", NULL, NULL, NULL)
8f1c26966b61 Assume DOS codepage 850 to be the default charset used in most modules.
Matti Hamalainen <ccr@tnsp.org>
parents: 12
diff changeset
18
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
19 //Invalid pointer
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
20 #ifndef NULL
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
21 #define NULL 0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
22 #endif
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
23
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
24 //Standard types. ----------------------------------------
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
25 //These data types are provided because the standard types vary across
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
26 // platforms. For example, long is 64-bit on some 64-bit systems.
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
27 //u = unsigned
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
28 //# = size in bits
2122
1be75b01ded3 Use GLib types.
Matti Hamalainen <ccr@tnsp.org>
parents: 2121
diff changeset
29 typedef guchar uchar;
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
30
2122
1be75b01ded3 Use GLib types.
Matti Hamalainen <ccr@tnsp.org>
parents: 2121
diff changeset
31 typedef gint8 int8;
1be75b01ded3 Use GLib types.
Matti Hamalainen <ccr@tnsp.org>
parents: 2121
diff changeset
32 typedef gint16 int16;
1be75b01ded3 Use GLib types.
Matti Hamalainen <ccr@tnsp.org>
parents: 2121
diff changeset
33 typedef gint32 int32;
1be75b01ded3 Use GLib types.
Matti Hamalainen <ccr@tnsp.org>
parents: 2121
diff changeset
34 typedef gint64 int64;
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
35
2122
1be75b01ded3 Use GLib types.
Matti Hamalainen <ccr@tnsp.org>
parents: 2121
diff changeset
36 typedef guint8 uint8;
1be75b01ded3 Use GLib types.
Matti Hamalainen <ccr@tnsp.org>
parents: 2121
diff changeset
37 typedef guint16 uint16;
1be75b01ded3 Use GLib types.
Matti Hamalainen <ccr@tnsp.org>
parents: 2121
diff changeset
38 typedef guint32 uint32;
1be75b01ded3 Use GLib types.
Matti Hamalainen <ccr@tnsp.org>
parents: 2121
diff changeset
39 typedef guint64 uint64;
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
40
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
41 typedef float float32;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
42 typedef double float64;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
43 typedef long double float128;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
44
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
45 #endif // included