[SCM] Samba Shared Repository - branch master updated -
jelmer at samba.org
Fri Jan 16 15:13:55 GMT 2009
On Thu, Jan 15, 2009 at 04:57:31PM -0600, Tim Prouty wrote:
> commit 7c861cac534801dd7938f07eeccd3680c84d3f30
> Author: Tim Prouty <tprouty at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 315 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20090116/fa583572/attachment.bin
More information about the samba-technical