help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ri:[Help-smalltalk] Patch to add unsigned int support...


From: address@hidden
Subject: Ri:[Help-smalltalk] Patch to add unsigned int support...
Date: Thu, 18 Oct 2001 10:54:26 +0200

> I've tested this with both passing uints/ulongs and returning them.
> I've also testing sending true/false to functions asking for
> ulongs/uints.  I've also, of course, tested all this against large
> ints (2^32-1) and things seem to all work OK.

Have you tried sending them to regular #int's? Returning uInts
makes sense, but passing them should be equivalent to
passing ints.

> I noticed that when returning a long in callCFunction() that
> `fromCInt()' was being used, which on 64-bit platforms it looks like
> it may cause trouble (fromCInt is mapped to fromInt, which looses a
> bit of precision).

That's a bug.

> I also updated the Texinfo docs and added a Changlog entry...The patch
> against 1.96 is attached.

Great.

Paolo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]