Last change
on this file since 14048 was
14048,
checked in by gz, 10 years ago
|
from trunk, reorg of platform-specific kernel files (r13589-r13956)
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.2 KB
|
Line | |
---|
1 | /* |
---|
2 | Copyright (C) 2009 Clozure Associates |
---|
3 | Copyright (C) 1994-2001 Digitool, Inc |
---|
4 | This file is part of Clozure CL. |
---|
5 | |
---|
6 | Clozure CL is licensed under the terms of the Lisp Lesser GNU Public |
---|
7 | License , known as the LLGPL and distributed with Clozure CL as the |
---|
8 | file "LICENSE". The LLGPL consists of a preamble and the LGPL, |
---|
9 | which is distributed with Clozure CL as the file "LGPL". Where these |
---|
10 | conflict, the preamble takes precedence. |
---|
11 | |
---|
12 | Clozure CL is referenced in the preamble as the "LIBRARY." |
---|
13 | |
---|
14 | The LLGPL is also available online at |
---|
15 | http://opensource.franz.com/preamble.html |
---|
16 | */ |
---|
17 | |
---|
18 | #ifndef __lisptypes__ |
---|
19 | #define __lisptypes__ |
---|
20 | |
---|
21 | |
---|
22 | #if WORD_SIZE == 64 |
---|
23 | typedef u64_t LispObj; |
---|
24 | typedef u64_t natural; |
---|
25 | typedef s64_t signed_natural; |
---|
26 | typedef u64_t unsigned_of_pointer_size; |
---|
27 | #else |
---|
28 | typedef u32_t LispObj; |
---|
29 | typedef u32_t natural; |
---|
30 | typedef s32_t signed_natural; |
---|
31 | typedef u32_t unsigned_of_pointer_size; |
---|
32 | #endif |
---|
33 | |
---|
34 | |
---|
35 | typedef u32_t lisp_char_code; |
---|
36 | |
---|
37 | typedef int OSStatus, OSErr; |
---|
38 | #define noErr ((OSErr) 0) |
---|
39 | typedef int Boolean; |
---|
40 | typedef void *LogicalAddress; |
---|
41 | typedef char *Ptr, *BytePtr, *StringPtr; |
---|
42 | typedef unsigned int UInt32; |
---|
43 | |
---|
44 | |
---|
45 | |
---|
46 | #define true 1 |
---|
47 | #define false 0 |
---|
48 | |
---|
49 | #endif /*__lisptypes__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.