[AD] new_api_branch error handling
[
Thread Index
|
Date Index
|
More lists.liballeg.org/allegro-developers Archives
]
To
:
alleg-developers@xxxxxxxxxx
Subject
: [AD] new_api_branch error handling
From
: Hrvoje Ban <
spoofer255@xxxxxxxxxx
>
Date
: Sun, 23 Oct 2005 12:40:15 +0200
Domainkey-signature
: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=G/1FhBUOVltklMDI5a1R9bckCGgEUTJyGgvasHjSPIAzuwBlWynVqWNwCZ71JUMLxDuyEh/Q7VadkSdo88pldO5F6utocF2T9GD+ummwVtEO/QLdyy2u7UC+zt5MftRoSNLZ5YECX1gXceCmrgu3huEmpKlRkh1h0wbw+q6nFRU=
void set_error_handler(void (* al_error_handler)(const char *error));
It would be called every time functions fails, just before returning NULL. By default it would just copy error string into allegro_error, but user can supply his own version that could for example throw exception.
Follow-Ups
:
Re: [AD] new_api_branch error handling
From:
Elias Pschernig
Messages sorted by:
[
date
|
thread
]
Prev by Date:
Re: [AD] TRACEs in xkeyboard.c
Next by Date:
Re: [AD] Colorconv blitters
Previous by thread:
Re: [AD] TRACEs in xkeyboard.c
Next by thread:
Re: [AD] new_api_branch error handling
Mail converted by
MHonArc
2.6.19+
http://listengine.tuxfamily.org/