Hi all,
On Tue, Nov 26, 2013 at 9:03 AM, Ryan McCue <lists@rotorised.com> wrote:
> Michael Wallner wrote:
> > On 23 November 2013 22:40, Ferenc Kovacs <tyra3l@gmail.com> wrote:
> >> what do you think?
> >
> > Sounds doable! I'd implement the INI with 1, "On", 0, "Off", and
> > -1,
> > "Never" settings, if nobody objects (the first two for BC and "Never"
> > to complement).
> >
>
> I'd probably go with 2 rather than -1, just in case we want to turn it
> into a bitmask in the future (unsigned seems better than signed to me
> anyway).
Any positive number is max size of input, right?
Is this correct?
Then, 0 for unlimited and -1 for disabled sounds reasonable to me.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net