[quoted lines by Mario Lang on 2017/07/27 at 21:17 +0200]

>This did the trick:
>
>  brlapi_range_t Ranges[1];
>  Ranges[0].first = 0;
>  Ranges[0].last = 0Xffffffffffffffff;
>  brlapi__acceptKeyRanges(BrlAPI->handle(), Ranges, 1);

Here's what I think is a btter way to code the initialization:

   brlapi_range_t ranges[] = {
     { .first = 0, .last = UINT64_MAX }
   };

>Either the documentation or the code needs to be fixed.
>I would vote for making the code do what the documentation claims.

So do I. Having to accept specific ranges makes no sense (to me) in raw mode.

-- 
Dave Mielke           | 2213 Fox Crescent | http://Mielke.cc/
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: [email protected] | Canada  K2A 1H7   | The Bible is the very Word of God.
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Reply via email to