1AL_ID(3)                        Allegro manual                        AL_ID(3)
2
3
4

NAME

6       AL_ID - Converts four 8 bit values to a packed 32 bit integer ID. Alle‐
7       gro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       Macro AL_ID(a,b,c,d)
14

DESCRIPTION

16       This macro can be used to create a packed 32 bit  integer  from  8  bit
17       characters, on both 32 and 64 bit machines. These can be used for vari‐
18       ous things, like custom datafile objects or system IDs. Example:
19
20          #define OSTYPE_LINUX       AL_ID('T','U','X',' ')
21
22

SEE ALSO

24       DAT_ID(3)
25
26
27
28Allegro                          version 4.4.2                        AL_ID(3)
Impressum