Hi Tim,

On Thu, Jan 15, 2009 at 04:57:31PM -0600, Tim Prouty wrote:
> commit 7c861cac534801dd7938f07eeccd3680c84d3f30
> Author: Tim Prouty <tpro...@samba.org>
> Date:   Thu Jan 15 10:51:57 2009 -0800

>     pidl: Add max property to be used instead of range for unsigned types.

>     Compilers complain about ranges starting at 0 for unsigned types,
>     since an unsigned type is never less than 0.  The max property
>     implicitly makes 0 the lower bound when used with unsigned types.

Since the max property isn't standard, this makes it harder to port
our IDL code to other IDL compilers. It would be nice to just keep the
range() property and just check the data type of the variable to see 
if we need to check the lower bound.

Cheers,

Jelmer

Attachment: signature.asc
Description: Digital signature

Reply via email to