|Anonymous | Login||2017-11-19 12:57 EST|
|Main | My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001586||graphviz||Output Generation||public||2009-04-07 04:50||2011-04-28 04:03|
|Summary||0001586: Expose a public function to override error function|
The errorfn set in gvNEWcontext() can't be overridden outside GraphViz
because the struct GVC_s defined in gvcint.h is not exposed.
Is it possible to provide a public function to override the errorfn
so that I can redirect error messages to some places other than console?
[erg] If you just want to keep messages from going to the console, call
In general, error handling needs to be redone. A library should not call exit() without involving the application.
[josh] The use of agseterror(AGMAX) doesn't meet my need. What I want to do is to redirect error messages from console to my GUI widget. I searched all public functions in GraphViz and couldn't find one that does
gvc->common.errorfn = my_function;
As you said, you are planning to rewrite the error handling part of GraphViz. Any schedule set?
|Tags||No tags attached.|
|2011-04-28 04:03||user1||New Issue|
|2011-04-28 04:03||user1||Assigned To||=> user1|
|MantisBT 1.2.5[^] Copyright © 2000 - 2011 MantisBT Group|