Record AL_DATA_PTR_T

Hierarchy
Methods
Properties

Unit

Declaration

type AL_DATA_PTR_T = record

Description

Special union record used to store a integer and a pointer in the same variable.

This is a workaround because some Pascal compilers doesn't allow to cast a POINTER as INTEGER and vice-versa. This is needed in some low-level operations.

See also
ALLEGRO_USER_EVENT
An event structure that can be emitted by user event sources.

Overview

Fields

int_value: AL_INTPTR_T
uint_value: AL_UINTPTR_T
ptr_value: AL_POINTER

Description

Fields

int_value: AL_INTPTR_T

The data as an integer value with same size than AL_POINTER;

uint_value: AL_UINTPTR_T

The data as an unsigned integer value with same size than AL_POINTER;

ptr_value: AL_POINTER

The data as a generic pointer.


Generated by PasDoc 0.15.0. Generated on 2024-11-10 15:15:06.