Bug in wimp.h
Tony van der Hoff
OSLib at mk-net.demon.co.uk
Wed Aug 9 08:42:35 BST 2000
On Tue, 8 Aug 2000, at 13:42:32, Chris Rutter
<chris at willow.armlinux.org> wrote on the subject "Bug in wimp.h":
>The declaration for wimp_load_template() includes the 12-byte buffer
>being `const': this is incorrect, as the Wimp replaces wildcarded names
>by the actual name of the template; PRM 3-171 states:
>
<snip>
This does indeed look wrong. However, is it actually a problem?
In any case, I don't think it'll break any existing code if we were just
to change it, so unless someone else can think of a problem, I'll
schedule it for the next release.
>Furthermore, shouldn't there be a macro for `((wimp_window *) 0xffffffffu)'
>(the value to pass to wimp_load_template() if you want to look up the
>sizes of the various buffers)?
Or, as David suggests, 0. OK, I'll put it in.
--
Tony van der Hoff | Mailto:tony at mk-net.demon.co.uk
| Mailto:avanderhoff at iee.org
Buckinghamshire, England | http:www.mk-net.demon.co.uk
More information about the oslib-user
mailing list