Mercurial > octave-nkf
comparison libinterp/corefcn/event-queue.h @ 20577:c547458dc10e
eliminate error_state from most header files
* defun-int.h, event-queue.h, graphics.in.h, oct-handle.h,
ov-classdef.h, misc/f77-fcn.h, unwind-prot.h:
Eliminate use of global error_state variable.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 03 Oct 2015 13:20:28 -0400 |
parents | 4197fc428c7d |
children |
comparison
equal
deleted
inserted
replaced
20576:0fc9b572e566 | 20577:c547458dc10e |
---|---|
34 public: | 34 public: |
35 | 35 |
36 event_queue (void) : fifo () { } | 36 event_queue (void) : fifo () { } |
37 | 37 |
38 // Destructor should not raise an exception, so all actions | 38 // Destructor should not raise an exception, so all actions |
39 // registered should be exception-safe (but setting error_state is | 39 // registered should be exception-safe. If you're not sure, see |
40 // allowed). If you're not sure, see event_queue_safe. | 40 // event_queue_safe. |
41 | 41 |
42 ~event_queue (void) { run (); } | 42 ~event_queue (void) { run (); } |
43 | 43 |
44 void add (elem *new_elem) | 44 void add (elem *new_elem) |
45 { | 45 { |