htod - convert C .h files to D import files
Stewart Gordon
smjg_1998 at yahoo.com
Wed May 24 02:23:00 PDT 2006
Lionello Lunesu wrote:
>>>>> * signed char => sbyte
>>>> What's the issue?
>>> dmd claims (correctly) it doesn't know about sbyte:
>>> gl.d(42): identifier 'sbyte' is not defined
>> <slaps forehead> Arrgh!
>
> Hey! Don't get me wrong! I've posted before that "byte" should be unsigned!
> So, create an sbyte for the signed byte and let's have a laugh about it.
The integer types are designed to be named consistently with each other.
byte, short, int and long are signed.
ubyte, ushort, uint and ulong are unsigned.
Stewart.
More information about the Digitalmars-d-announce
mailing list