RE: [AD] Proposed changes for Allegro 5 (6?) |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
> they can even have different sizeof()'s. Can't we do something like:
>
> typedef void *al_video_memory_pointer;
I support this.
In addition, this makes me think that, eg, in BITMAP, dat and lines are of
different types if I recall well, and both are character types. They also
could do with retyping, as they can point to 8 bit, but also 16, 24, 32 bit
data, so a character type begs for mistakenly being dereferenced. Though it
wouldn't lead to a crash in this case.
--
Vincent Penquerc'h
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |