File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -503,7 +503,7 @@ void *os_GetSystemStats(void);
503
503
* @code
504
504
* int errno = os_PushErrorHandler();
505
505
* if (errno) {
506
- * // handle error, but do not call os_PopErrorHandler()
506
+ * // handle error, but no longer under the protection of the error handler so do not call os_PopErrorHandler()
507
507
* } else {
508
508
* // run some code that may error
509
509
* os_PopErrorHandler();
@@ -516,8 +516,8 @@ void *os_GetSystemStats(void);
516
516
int os_PushErrorHandler (void );
517
517
518
518
/**
519
- * Restores state after a call to os_PushErrorHandler, but should not be called along the error
520
- * path, and restores stack and ix to their state before the call to os_PushErrorHandler .
519
+ * Restores stack state after a call to os_PushErrorHandler. Must be called with stack in the same state
520
+ * as it was when os_PushErrorHandler returned with 0, and should not be called along the error path .
521
521
*
522
522
* @see os_PushErrorHandler
523
523
*/
You can’t perform that action at this time.
0 commit comments