.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .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[V]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)