diff liboctave/lo-error.h @ 227:1a48a1b91489

[project @ 1993-11-15 10:10:35 by jwe]
author jwe
date Mon, 15 Nov 1993 10:11:59 +0000
parents 82c050e70f7a
children 780cbbc57b7c
line wrap: on
line diff
--- a/liboctave/lo-error.h	Mon Nov 15 10:06:26 1993 +0000
+++ b/liboctave/lo-error.h	Mon Nov 15 10:11:59 1993 +0000
@@ -21,8 +21,8 @@
 
 */
 
-#if !defined (_error_h)
-#define _error_h 1
+#if !defined (_liboctave_error_h)
+#define _liboctave_error_h 1
 
 #ifdef __GNUG__
 #pragma interface
@@ -35,12 +35,16 @@
 volatile v_fcn_cpc_x fatal;
 #endif
 
+extern void liboctave_fatal (const char *fmt, ...);
+
 typedef void (*liboctave_error_handler) (const char *, ...);
 
+// Would be nice to make this private, but we want to share it among
+// all the liboctave classes.
+extern liboctave_error_handler current_liboctave_error_handler;
+
 extern void set_liboctave_error_handler (liboctave_error_handler f);
 
-extern void liboctave_fatal (const char *fmt, ...);
-
 #endif
 
 /*