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).
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).