gobics / uproc

Tools for ultra-fast protein sequence classification.
http://uproc.gobics.de/
GNU Lesser General Public License v3.0
5 stars 3 forks source link

Error handler data #1

Closed landesfeind closed 10 years ago

landesfeind commented 10 years ago

Added a "context" to the error handler (WARNING: API break!). This features passing through some pointer into the error handler without requiring the use of global variables within the caller.

When utilizing UProC from the command line this will usually be ignored. However, in GUI applications it may be desirable to pass some data through to allow the display of a GUI Error Message before terminating the program itself (or maybe also a recovery is possible).

rmartinjak commented 10 years ago

LGTM.