New types uword_t, sword_t
authorDavid Lichteblau <david@lichteblau.com>
Thu, 8 Nov 2012 16:04:03 +0000 (17:04 +0100)
committerDavid Lichteblau <david@lichteblau.com>
Tue, 20 Nov 2012 14:01:26 +0000 (15:01 +0100)
commite26e24ac5b2c744fc5104f7123c5ddcf884dca02
treedb720a0efa980c2efb3819c10584bf411c16b95b
parentace42c658eab1d7965763fab123b2d6bd065d1d7
New types uword_t, sword_t

First commit in a series of changes for LLP64 platform support.

We have been using `(un)signed long' assuming that it is an integer
of the same size as a pointer.  On Windows x64 this assumption does
not hold, and `(un)signed long long' is required for the same
purpose.

Code will be updated to use our own types uword_t, sword_t instead,
which are defined to be synonyms of uintptr_t and intptr_t, respectively.

Note that uword_t is also synonymous with our older type
pointer_sized_uint_t, and technically (albeit not conceptually) the
same as lispobj.

Thanks to Anton Kovalenko.
src/runtime/gc.h
src/runtime/runtime.h
src/runtime/win32-os.h