Mercurial > octave-nkf
comparison libinterp/octave-value/ov-classdef.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 | a142b62527ef |
children |
comparison
equal
deleted
inserted
replaced
20576:0fc9b572e566 | 20577:c547458dc10e |
---|---|
1206 { | 1206 { |
1207 if (klass.ok ()) | 1207 if (klass.ok ()) |
1208 { | 1208 { |
1209 cdef_class cls (get_class ()); | 1209 cdef_class cls (get_class ()); |
1210 | 1210 |
1211 if (! error_state && cls.ok ()) | 1211 if (cls.ok ()) |
1212 cls.register_object (); | 1212 cls.register_object (); |
1213 } | 1213 } |
1214 } | 1214 } |
1215 | 1215 |
1216 inline void | 1216 inline void |
1218 { | 1218 { |
1219 if (klass.ok ()) | 1219 if (klass.ok ()) |
1220 { | 1220 { |
1221 cdef_class cls (get_class ()); | 1221 cdef_class cls (get_class ()); |
1222 | 1222 |
1223 if (! error_state && cls.ok ()) | 1223 if (cls.ok ()) |
1224 cls.unregister_object (); | 1224 cls.unregister_object (); |
1225 } | 1225 } |
1226 } | 1226 } |
1227 | 1227 |
1228 inline cdef_object_rep* | 1228 inline cdef_object_rep* |