1al_set_exe_name(3)                                          al_set_exe_name(3)
2
3
4

NAME

6       al_set_exe_name - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              void al_set_exe_name(char const *path)
12

DESCRIPTION

14       This  override  the executable name used by al_get_standard_path(3) for
15       ALLEGRO_EXENAME_PATH and ALLEGRO_RESOURCES_PATH.
16
17       One possibility where changing this can be useful is  if  you  use  the
18       Python  wrapper.  Allegro would then by default think that the system’s
19       Python executable is the current executable - but you can set it to the
20       .py file being executed instead.
21

SINCE

23       5.0.6, 5.1.0
24

SEE ALSO

26       al_get_standard_path(3)
27
28
29
30Allegro reference manual                                    al_set_exe_name(3)
Impressum