[AD] Why aren't BITMAP * parameters const where appropriate? |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Is there any reason why bitmap_color_depth()'s parameter couldn't be made const? And ditto for stretch_bitmap()'s 'source' parameter? And probably lots of other functions' parameters too. The lack of const'ness means I have to use const_cast in my C++ program to squelch warnings from GCC. -- Daniel Schlyder http://bitblaze.com/
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |