diff liboctave/util/quit.h @ 29230:6b3faa844395

Set API tags in files in liboctave/util (patch #8919). Add API tag to template class definitions. Add API tag to (un-defined) functions and member functions in headers. Export template class instantiations and template functions from .cc files.
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 29 Dec 2020 17:58:57 +0100
parents 1dbeca38c776
children 7854d5752dd2
line wrap: on
line diff
--- a/liboctave/util/quit.h	Tue Dec 29 17:53:59 2020 +0100
+++ b/liboctave/util/quit.h	Tue Dec 29 17:58:57 2020 +0100
@@ -89,7 +89,7 @@
             && a.column () == b.column ());
   }
 
-  class execution_exception : public std::runtime_error
+  class OCTAVE_API execution_exception : public std::runtime_error
   {
   public:
 
@@ -222,26 +222,26 @@
     0: no interrupt pending
   < 0: handling interrupt
 */
-OCTAVE_API extern sig_atomic_t octave_interrupt_state;
+extern OCTAVE_API sig_atomic_t octave_interrupt_state;
 
 OCTAVE_DEPRECATED (6, "'octave_exception_state' is an obsolete internal variable; any uses should be removed")
-OCTAVE_API extern sig_atomic_t octave_exception_state;
+extern OCTAVE_API sig_atomic_t octave_exception_state;
 
-OCTAVE_API extern volatile sig_atomic_t octave_signal_caught;
+extern OCTAVE_API volatile sig_atomic_t octave_signal_caught;
 
-OCTAVE_API extern void octave_handle_signal (void);
+extern OCTAVE_API void octave_handle_signal (void);
 
 OCTAVE_DEPRECATED (6, "use 'throw octave::interrupt_exception' instead")
-OCTAVE_NORETURN OCTAVE_API extern void octave_throw_interrupt_exception (void);
+OCTAVE_NORETURN extern OCTAVE_API void octave_throw_interrupt_exception (void);
 
 OCTAVE_DEPRECATED (6, "use 'throw octave::execution_exception' instead")
-OCTAVE_NORETURN OCTAVE_API extern void octave_throw_execution_exception (void);
+OCTAVE_NORETURN extern OCTAVE_API void octave_throw_execution_exception (void);
 
 OCTAVE_DEPRECATED (6, "use 'throw std::bad_alloc' instead")
-OCTAVE_NORETURN OCTAVE_API extern void octave_throw_bad_alloc (void);
+OCTAVE_NORETURN extern OCTAVE_API void octave_throw_bad_alloc (void);
 
 OCTAVE_DEPRECATED (6, "use 'throw' instead")
-OCTAVE_API extern void octave_rethrow_exception (void);
+extern OCTAVE_API void octave_rethrow_exception (void);
 
 #if defined (__cplusplus)