1al_install_system(3)       Library Functions Manual       al_install_system(3)
2
3
4

NAME

6       al_install_system
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              bool al_install_system(int version, int (*atexit_ptr)(void (*)(void)))
12

DESCRIPTION

14       Initialize  the  Allegro  system.   No  other  Allegro functions can be
15       called before this (with one or two exceptions).
16
17       The version field should always be set to ALLEGRO_VERSION_INT.
18
19       If atexit_ptr is non-NULL, and if hasn't been  done  already,  al_unin‐
20       stall_system(3) will be registered as an atexit function.
21
22       Returns  true  if Allegro was successfully initialized by this function
23       call (or already was initialized previously), false if  Allegro  cannot
24       be used.
25

SEE ALSO

27       al_init(3)
28
29
30
31Allegro reference manual                                  al_install_system(3)
Impressum