From: Elias P. <el...@us...> - 2008-08-22 11:09:19
|
On Fri, 2008-08-22 at 12:36 +0200, Guillermo Martínez Jiménez wrote: > > I'm not saying to use OpenGL datatypes, but define new Allegro datatypes. > As example, AL_INT32, AL_UINT32, AL_INT64, AL_FLOAT, AL_CHAR, etc. It > would be useful specially for those integer with an specific length. By the > way, I'm not sure if the C99 standard defines those "specific length types" > and if they're widely used by all platforms. > We already do this, look at include/allegro5/platform/astdint.h. There might be some more places in the API where it might make sense to use them (which we overlooked) - but whenever we need them, we do use fixed-width types. -- Elias Pschernig <el...@us...> |