Re: [AD] About my load_sample patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 25 July 2002 15:40, Vincent Penquerc'h wrote:
> The only solution I see is making the base code
> using only void* and adding a layer for BITMAPs, SAMPLEs, etc
> that redirect to the base with casts, which is not very very
> nice.

You are right about that. But it's not such a bad thing to implement 
(quite easy if you like linked lists and vtables :-) ); the only thing 
is, it's not type-safe. Not that this is a huge problem, given the 
context.

If anyone is interested, maybe I could get a patch ready?

Bye for now,
- -- 
Laurence Withers,  lwithers@xxxxxxxxxx
(GnuPG 04A646EA) http://www.lwithers.demon.co.uk/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9QBbsUdhclgSmRuoRAiGqAJ961L5duRTtc/zJVhUvMktAbkPnDACeJONz
CZhy829ZFbSFVHaG8A3L8K4=
=7yGt
-----END PGP SIGNATURE-----



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/