mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Minor improvement to documentation for settign an exception handler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26688 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8a9ccbb1f4
commit
5d582fe696
1 changed files with 4 additions and 1 deletions
|
@ -275,7 +275,7 @@ GS_EXPORT NSUncaughtExceptionHandler *_NSUncaughtExceptionHandler;
|
|||
* </p>
|
||||
* <p>NB. If the exception handler set by this function does not terminate
|
||||
* the process, the process will be terminateed anyway. This is a safety
|
||||
* precaution to ensure that, in the event of an exception ebing raised
|
||||
* precaution to ensure that, in the event of an exception being raised
|
||||
* and not handled, the program does not try to continue running in a
|
||||
* confused state (possibly doing horrible things like billing customers
|
||||
* who shouldn't be billed etc), but shuts down as cleanly as possible.
|
||||
|
@ -286,6 +286,9 @@ GS_EXPORT NSUncaughtExceptionHandler *_NSUncaughtExceptionHandler;
|
|||
* accomplished by calling the abort function instead, which should cause
|
||||
* a core dump to be made for debugging.
|
||||
* </p>
|
||||
* <p>The value of proc should be a pointer to a function taking an
|
||||
* [NSException] instance as an argument.
|
||||
* </p>
|
||||
*/
|
||||
#define NSSetUncaughtExceptionHandler(proc) \
|
||||
(_NSUncaughtExceptionHandler = (proc))
|
||||
|
|
Loading…
Reference in a new issue