Two points
Tony van der Hoff
tony at mk-net.demon.co.uk
Mon Oct 13 14:37:05 BST 2003
On 11 Oct 2003, in message <df80e03f4c.tom at loxley.compton.nu>,
Tom Hughes <tom at compton.nu> wrote:
> In message <0e48cb3f4c.philip at philipnet.com>
> Philip Ludlam <philip at philipnet.com> wrote:
>
> > Sometime I've found OSLib to use use int where IMHO unsigned int/size_t
> > or unsigned long would be better. Unfotunately, the only one I can
> > currently think of is file sizes (now who has ever heard of a file
> > having a negative size? -:) ), but due to it's size there must be
> > others.
> >
> > Is there scope in OSLib for the API to be changed/extended to return
> > unsigned values where they are more appropriate than signed?
>
> I believe this is something that Jonathan has had quite strong
> opiniond about in the past, but I might be wrong.
>
<sigh> It is....
http://ro-oslib.sourceforge.net/faq.html#signed ints
It really does make sense :-)
--
Tony van der Hoff | MailTo:tony at mk-net.demon.co.uk
Buckinghamshire, England | http:www.mk-net.demon.co.uk
More information about the oslib-user
mailing list