Beginner with OSLib
Chris Rutter
chris at willow.armlinux.org
Mon Sep 18 13:55:51 BST 2000
On Mon, 18 Sep 2000, Tony van der Hoff wrote:
> I fixed this for OSLib 6.10 in June '00. OSLib now defines its own
> OSBOOL type, which for backward compatibility can be defined to bool.
Oh ick yick yuck -- pardon my whinge, but I think, typographically, that
`OSBOOL' is really ugly and it would be a shame to have to put it anywhere.
I think the correct solution, /given/ that OSLib has always widely eaten
up the `bool' bit of the namespace /anyway/ is to typedef if it it's
not present, but leave it otherwise. I think you can even do this by
checking whether `BOOL_T' (or something) is defined, but if not, you
can check `__STDC_VERSION__'. Or perhaps just use `bool_t', or maybe
`os_bool' (though that does somewhat seem to conflict naming practices);
but that capital monster is horrid. ;-)
</rant>
c.
More information about the oslib-user
mailing list