[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 16 bit ints ..
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 20 May 2003 17:08:13 -0300
> I am considering using lua on a PS2 (playstation 2),
> where long's are 64 bits. Will this be a problem ?
Lua should run without problems with 64-bit longs. To save space, you
can redefine the `Instruction' type, defined in llimits.h (which is long
to ensure a minimum of 32 bits):
/*
** type for virtual-machine instructions
** must be an unsigned with (at least) 4 bytes (see details in lopcodes.h)
*/
typedef unsigned long Instruction;
^int^
-- Roberto