Extension to Samba IDL.
Luke Kenneth Casson Leighton
lkcl at samba.org
Sat Jun 17 12:32:33 GMT 2000
> You can do this sort of thing without bitfields.
>
> switch (var & 2)
> {
> case 0:
> case 1:
> }
>
> or
>
> switch ((var & 0xe) >> 1)
> {
> case 0:
> case 2:
> }
yeh.
> Which is what our compiler has to turn it into anyway.
yeh.
> Still, I guess bitfields are pretty common in the non-RPC stuff, so for
> convenience I don't see any problem adding them.
chris needs run-time dynamic bit-fields!!
More information about the samba-technical
mailing list