From: Duilio J. P. <dp...@fc...> - 2004-10-03 21:05:28
|
> Heya List, > > Now we use callbacks for VISUAL_LOG messages, maybe it's an idea > to move the raise (SIGTRAP) into the callback. So that in some advanced > environment an error can be catched and libvisual can be stopped without > stopping the whole program. > > What do you people think ? > > Dennis Ok, this is a good possibility. Another one would be to still raising an error after showing the error message, but allow setting the error handler, maybe adding to lv_libvisual module: void visual_set_error_handler (...); and a private function like: void lv_abort(); Probably this approach would be more flexible. Bye, Duilio. |