logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

AL_ID - Converts four 8 bit values to a packed 32 bit integer ID. Allegro game programming library.

Description

       This  macro  can  be  used to create a packed 32 bit integer from 8 bit characters, on both 32 and 64 bit
       machines. These can be used for various things, like custom datafile objects or system IDs. Example:

          #define OSTYPE_LINUX       AL_ID('T','U','X',' ')

Name

       AL_ID - Converts four 8 bit values to a packed 32 bit integer ID. Allegro game programming library.

See Also

DAT_ID(3alleg4)

Allegro                                           version 4.4.3                                   AL_ID(3alleg4)

Synopsis

#include<allegro.h>MacroAL_ID(a,b,c,d)

See Also