Re: [AD] Patches of the day |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
In reply to Vincent Penquerc'h <Vincent.Penquerch@xxxxxxxxxx>: >It adds stuff like >geta15, makeacol16, etc, which are really useless by themselves, >but which get quite handy for macro generated code, like: > >#define FOO(bpp) \ > makeacol##bpp(r,g,b,a) In user code, why not add: #define makeacol8(r, g, b, a) makecol8(r, g, b) etc., rather than creating new functions and putting them in Allegro? (Or you could use functions, if you need to place them into a vtable or suchlike, but again: why add them to the core library?) Bye for now, -- Laurence Withers, lwithers@xxxxxxxxxx http://www.lwithers.demon.co.uk/
Attachment:
signature.asc
Description: PGP signature
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |