Re: [AD] WIP 4.1.15 and CVS freeze |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Elias Pschernig wrote:
So, if somebody except Chris thinks rest() should have "long" instead of "unsigned int" as parameter.. complain.
How come "unsigned int" instead of "unsigned long"?
Since negative values were neverallowed, this should have no backwards compatibility problems,
Not quite true. People binding Allegro to other languages or storing the address of `rest' into a pointer will probably notice, but neither are common enough to matter.
Does this mean more argument/return types will become unsigned in future? I reckon unsigned-ness can be a bitch to work with. The "unsigned" keyword is just too long, and yet it feels gratuitous to typedef unsigned int uint.
Peter
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |