Home » Archimedes archive » Acorn User » AU 1998-09.adf » Regulars » StarInfo/Kingsley/Types_H

StarInfo/Kingsley/Types_H

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1998-09.adf » Regulars
Filename: StarInfo/Kingsley/Types_H
Read OK:
File size: 00C3 bytes
Load address: 0000
Exec address: 0000
File contents
#ifndef __TYPES_C++
#define __TYPES_C++

#ifndef NULL
#include <stddef.h>
#endif

#define BYTE	unsigned char
#define LONG	unsigned long

#define LNULL	(LONG) NULL
#define BNULL	(BYTE) NULL
#endif
00000000  23 69 66 6e 64 65 66 20  5f 5f 54 59 50 45 53 5f  |#ifndef __TYPES_|
00000010  43 2b 2b 0a 23 64 65 66  69 6e 65 20 5f 5f 54 59  |C++.#define __TY|
00000020  50 45 53 5f 43 2b 2b 0a  0a 23 69 66 6e 64 65 66  |PES_C++..#ifndef|
00000030  20 4e 55 4c 4c 0a 23 69  6e 63 6c 75 64 65 20 3c  | NULL.#include <|
00000040  73 74 64 64 65 66 2e 68  3e 0a 23 65 6e 64 69 66  |stddef.h>.#endif|
00000050  0a 0a 23 64 65 66 69 6e  65 20 42 59 54 45 09 75  |..#define BYTE.u|
00000060  6e 73 69 67 6e 65 64 20  63 68 61 72 0a 23 64 65  |nsigned char.#de|
00000070  66 69 6e 65 20 4c 4f 4e  47 09 75 6e 73 69 67 6e  |fine LONG.unsign|
00000080  65 64 20 6c 6f 6e 67 0a  0a 23 64 65 66 69 6e 65  |ed long..#define|
00000090  20 4c 4e 55 4c 4c 09 28  4c 4f 4e 47 29 20 4e 55  | LNULL.(LONG) NU|
000000a0  4c 4c 0a 23 64 65 66 69  6e 65 20 42 4e 55 4c 4c  |LL.#define BNULL|
000000b0  09 28 42 59 54 45 29 20  4e 55 4c 4c 0a 23 65 6e  |.(BYTE) NULL.#en|
000000c0  64 69 66                                          |dif|
000000c3