[AD] Patch to add constructor stuff to load_bitmap, save_bitmap

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


Hi,

Here is a patch which wraps src/readbmp.c (load_bitmap(), save_bitmap()
et al.) in a constructor:

Attachment: bmp_loader_ctor.diff
Description: bmp_loader_ctor.diff

This should slightly decrease the size of certain statically-linked
binaries. Also, I changed the `register_bitmap_file_type_init()'
function to have a prepended underscore, to fit in with other globally-
visible undesirables :-)

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/