Index

Package: Allegro

Description

package Allegro is
Allegro 5.0.9 - Base Allegro API package

Types

Allegro_Event_Source

type Allegro_Event_Source is limited private;

A_Allegro_Event_Source

type A_Allegro_Event_Source is access all Allegro_Event_Source;

Bool

type Bool is private;
Binding type for Allegro's "bool".

off_t

subtype off_t is Long_Integer;

time_t

type time_t is mod 2 ** 32;

Ada_Main_Procedure

type Ada_Main_Procedure is access procedure;

Constants & Global variables

B_FALSE (Bool)

B_FALSE : constant Bool;
not for comparison, only for passing a value

B_TRUE (Bool)

B_TRUE  : constant Bool;

ALLEGRO_PI

ALLEGRO_PI : constant := 3.14159265358979;

Subprograms & Entries

To_Ada

function To_Ada
( b: Bool ) return Boolean;

Set_Ada_Main

procedure Set_Ada_Main
( main: Ada_Main_Procedure );
Sets the main Ada procedure for the application at elaboration time. If it has already been set, a Program_Error exception will be raised.