[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Testing LUA: verify the correctness of a UTF16 LUA port
- From: Dave Dodge <dododge@...>
- Date: Thu, 15 Oct 2009 13:59:34 -0400
On Thu, Oct 15, 2009 at 05:16:40AM +0100, David Given wrote:
> Yes, in the Unix world it's always 4 (wchar_t is an int).
True in general practice, but technically the Unix standard does not
require it to be the same size as int.
http://www.opengroup.org/onlinepubs/009695399/basedefs/stddef.h.html
For example I think there were Unicos implementations where everything
except char was 64 bits, but I don't know if Cray still does it that
way.
-Dave Dodge