Re: [AD] Allegro 5 (4.9) data type |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Coordination of admins/developers of the game programming library Allegro <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] Allegro 5 (4.9) data type
- From: Elias Pschernig <elias@xxxxxxxxxx>
- Date: Fri, 22 Aug 2008 13:08:56 +0200
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 <elias@xxxxxxxxxx>