Mercurial > hg > sidinfo
diff sidlib.h @ 223:a76276ff7ba8
Rename PSID_* constant defines to SIDLIB_PSID_*.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 27 Dec 2019 12:15:51 +0200 |
parents | 3a01518fffe0 |
children | 4bec78f45188 |
line wrap: on
line diff
--- a/sidlib.h Fri Dec 27 11:12:42 2019 +0200 +++ b/sidlib.h Fri Dec 27 12:15:51 2019 +0200 @@ -19,9 +19,9 @@ // // Some constants // -#define PSID_MAGIC_LEN 4 -#define PSID_STR_LEN 32 -#define PSID_BUFFER_SIZE (1024 * 16) +#define SIDLIB_PSID_MAGIC_LEN 4 +#define SIDLIB_PSID_STR_LEN 32 +#define SIDLIB_PSID_BUFFER_SIZE (1024 * 16) enum @@ -68,7 +68,7 @@ typedef struct { - char magic[PSID_MAGIC_LEN + 1]; // "PSID" / "RSID" magic identifier + char magic[SIDLIB_PSID_MAGIC_LEN + 1]; // "PSID" / "RSID" magic identifier uint16_t version, // Version number dataOffset, // Start of actual c64 data in file