AL_ID(3alleg4)

AL_ID3alleg4

Converts four 8 bit values to a packed 32 bit integer id. allegro game programming library.

Usage

#include <allegro.h>

Macro AL_ID(a,b,c,d)

Overview

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',' ')

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.