.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "al_init" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_init - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include #define al_init() (al_install_system(ALLEGRO_VERSION_INT, atexit)) \f[R] .fi .SH DESCRIPTION .PP Like al_install_system(3alleg5), but automatically passes in the version and uses the atexit function visible in the current binary. .RS .PP Note: It is typically wrong to call al_init anywhere except the final game binary. In particular, do not call it inside a shared library unless you know what you\[cq]re doing. In those cases, it is better to call al_install_system either with a \f[C]NULL\f[R] atexit_ptr, or with a pointer to atexit provided by the user of this shared library. .RE .SH SEE ALSO .PP al_install_system(3alleg5)