EOR - AND mask inconsistency
Tony van der Hoff
tony at mk-net.demon.co.uk
Fri Mar 4 12:01:54 GMT 2005
John Tytgat <John.Tytgat at aaug.net> wrote in message
<c11538404d.Jo at hobbes.bass-software.com>
[snip]
>
> 3) EOR/AND values for IN only:
>
> extern os_error *xbuffer_modify_flags (buffer_b b,
> bits eor_mask,
> bits and_mask);
>
> But this is bad because this API doesn't allow me to read any of the
> current buffer flag bits...
>
> Could this be fixed please ?
Whilst I'm looking at OSLib, and you didn't reply to my earlier request,
presumably what we need here is a new call, with a signature:
extern os_error *xbuffer_modify_flags2
(buffer_b b,
bits eor_mask,
bits and_mask,
bits *old_value,
bits *new_value
);
OK?
(cc'd in case you're still having problems with the list)
--
Tony van der Hoff
Buckinghamshire England
More information about the oslib-user
mailing list