Unit al5Base

Uses
Classes, Interfaces, Objects and Records
Functions and Procedures
Constants
Variables

Description

Base definitions to interface with Allegro dynamic module.

This unit includes definitions of data types used by Allegro. They're used internally to be sure they're the correct in any platform (i.e. 32bit or 64bit). You may use them if you wish.

Overview

Types

AL_POINTER = POINTER;
AL_INT8 = SHORTINT;
AL_UINT8 = BYTE;
AL_INT16 = SMALLINT;
AL_UINT16 = WORD;
AL_INT32 = LONGINT;
AL_UINT32 = LONGWORD;
AL_INT64 = INT64;
AL_UINT64 = INT64;
AL_BOOL = LONGBOOL;
AL_BOL8 = BYTEBOOL;
AL_CHAR = AL_INT8;
AL_UCHAR = AL_UINT8;
AL_SHORT = AL_INT16;
AL_USHORT = AL_UINT16;
AL_INT = AL_INT32;
AL_UINT = AL_UINT32;
AL_LONG = AL_INT32;
AL_ULONG = AL_UINT32;
AL_SIZE_T = AL_UINT32;
AL_INTPTR_T = AL_INT32;
AL_UINTPTR_T = AL_UINT32;
AL_OFF_T = AL_UINT;
AL_FLOAT = SINGLE;
AL_DOUBLE = DOUBLE;
AL_STR = ANSISTRING;
AL_VOIDptr = AL_POINTER;
AL_STRptr = PCHAR;
AL_INTptr = ˆAL_INT;
AL_FLOATptr = ˆAL_FLOAT;

Description

Types

AL_POINTER = POINTER;

Generic pointer.

AL_INT8 = SHORTINT;

Signed 8bit integer values.

AL_UINT8 = BYTE;

Unsigned 8bit integer values.

AL_INT16 = SMALLINT;

Signed 16bit integer values.

AL_UINT16 = WORD;

Unsigned 16bit integer values.

AL_INT32 = LONGINT;

Signed 32bit integer values.

AL_UINT32 = LONGWORD;

Unsigned 32bit integer values.

AL_INT64 = INT64;

Signed 64bit integer values.

AL_UINT64 = INT64;

Unsigned 64bit integer values.

AL_BOOL = LONGBOOL;

Boolean result.

AL_BOL8 = BYTEBOOL;

Another bool type, used if C's declaration is byte sized.

AL_CHAR = AL_INT8;

Signed 8bit integer.

Note that it isn't Pascal's CHAR type!

AL_UCHAR = AL_UINT8;

Unsigned 8bit integer values.

AL_SHORT = AL_INT16;

Signed 16bit integer values.

AL_USHORT = AL_UINT16;

Unsigned 16bit integer values.

AL_INT = AL_INT32;

Signed 32bit integer values.

AL_UINT = AL_UINT32;

Unsigned 32bit integer values.

AL_LONG = AL_INT32;

Signed 32/64bit integer values.

AL_ULONG = AL_UINT32;

Unsigned 32/64bit integer values.

AL_SIZE_T = AL_UINT32;

size_t equivalent.

AL_INTPTR_T = AL_INT32;

Fake pointer type. It's needed to pass pointers as integer values in some methods.

AL_UINTPTR_T = AL_UINT32;

Fake pointer type. It's needed to pass pointers as integer values in some methods.

AL_OFF_T = AL_UINT;

Another 64bit integer to store sizes.

AL_FLOAT = SINGLE;

Float value.

AL_DOUBLE = DOUBLE;

Double value.

AL_STR = ANSISTRING;

Strings. Used in parameters to convert Pascal's STRING to C's char *

AL_VOIDptr = AL_POINTER;

Pointer.

AL_STRptr = PCHAR;

Pointer to text strings. Used to convert Pascal's STRING to C char *

AL_INTptr = ˆAL_INT;

Pointer to integer.

AL_FLOATptr = ˆAL_FLOAT;

Pointer to float.


Generated by PasDoc 0.14.0. Generated on 2017-01-03 13:25:50.