Description | Uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables |
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.
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 = QWORD; |
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_UINTPTR_T = AL_UINT32; |
AL_FLOAT = SINGLE; |
AL_DOUBLE = DOUBLE; |
AL_VOIDptr = AL_POINTER; |
AL_UINT8ptr = ˆAL_UINT8; |
AL_CHARptr = ˆAL_CHAR; |
AL_UCHARptr = ˆAL_UCHAR; |
AL_USHORTptr = ˆAL_USHORT; |
AL_UINT16ptr = ˆAL_UINT16; |
AL_UINT32ptr = ˆAL_UINT32; |
AL_INTptr = ˆAL_INT; |
AL_UINTptr = ˆAL_UINT; |
AL_FLOATptr = ˆAL_FLOAT; |
AL_STRptr = PCHAR; |
AL_SIMPLE_PROC = PROCEDURE; CDECL; |
AL_PARAM_PROC = PROCEDURE (x: AL_VOIDptr); CDECL; |
AL_INT_PROC = PROCEDURE (x: AL_INT); CDECL; |
AL_SIMPLE_FUNC = FUNCTION: AL_INT; CDECL; |
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 = QWORD; |
Unsigned 64bit integer values. |
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_UINTPTR_T = AL_UINT32; |
Fake pointer type. It's needed because the need of pointer arithmetics in some inlined methods. |
AL_FLOAT = SINGLE; |
Float value. |
AL_DOUBLE = DOUBLE; |
Double value. |
AL_VOIDptr = AL_POINTER; |
Pointer. |
AL_UINT8ptr = ˆAL_UINT8; |
Special 8bit integer pointer. |
AL_CHARptr = ˆAL_CHAR; |
Pointer to signed 8bit integer values. |
AL_UCHARptr = ˆAL_UCHAR; |
Pointer to unsigned 8bit integer values. |
AL_USHORTptr = ˆAL_USHORT; |
Pointer to unsigned 16bit integer values. |
AL_UINT16ptr = ˆAL_UINT16; |
Special 16bit integer pointer. |
AL_UINT32ptr = ˆAL_UINT32; |
Special 32bit integer pointer. |
AL_INTptr = ˆAL_INT; |
Pointer to signed 32bit integer values. |
AL_UINTptr = ˆAL_UINT; |
Pointer to signed 32bit integer values. |
AL_FLOATptr = ˆAL_FLOAT; |
Pointer to float values. |
AL_STRptr = PCHAR; |
Pointer to text strings. Used to convert Pascal's |
AL_SIMPLE_PROC = PROCEDURE; CDECL; |
This is used to define call-back parameter or pointers to call-back procedures. A call-back procedure must be declared as |
AL_PARAM_PROC = PROCEDURE (x: AL_VOIDptr); CDECL; |
This is used to define call-back parameter or pointers to call-back procedures. A call-back procedure must be declared as |
AL_INT_PROC = PROCEDURE (x: AL_INT); CDECL; |
This is used to define call-back parameter or pointers to call-back procedures. A call-back procedure must be declared as |
AL_SIMPLE_FUNC = FUNCTION: AL_INT; CDECL; |
This is used to define call-back parameter or pointers to call-back procedures. A call-back procedure must be declared as |