[AD] _add_exit_func patch |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
This patch makes _add_exit_func() take an additional argument, which is
a descriptive string. It helps to track down problems in allegro_exit()
because then you can easily print out the string just before the
offending hook function is run. Usually you would try to use a debugger
to find out which function is being run, but sometimes the debugger
doesn't work (like what just happened to me).
Peter
Attachment:
add_exit_func.diff.gz
Description: application/gunzip