1912
|
1 // misc-extern.cc -*- C++ -*- |
|
2 /* |
|
3 |
|
4 Copyright (C) 1996 John W. Eaton |
|
5 |
|
6 This file is part of Octave. |
|
7 |
|
8 Octave is free software; you can redistribute it and/or modify it |
|
9 under the terms of the GNU General Public License as published by the |
|
10 Free Software Foundation; either version 2, or (at your option) any |
|
11 later version. |
|
12 |
|
13 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
16 for more details. |
|
17 |
|
18 You should have received a copy of the GNU General Public License |
|
19 along with Octave; see the file COPYING. If not, write to the Free |
|
20 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
21 |
|
22 */ |
|
23 |
|
24 #ifdef HAVE_CONFIG_H |
|
25 #include <config.h> |
|
26 #endif |
|
27 |
|
28 #include "f77-fcn.h" |
|
29 #include "lo-error.h" |
|
30 |
|
31 // This whole file is a kluge just to avoid unresolved symbol errors |
|
32 // when creating shared versions of libcruft. |
|
33 |
|
34 // So we can check to see if an exception has occurred. |
|
35 int f77_exception_encountered = 0; |
|
36 |
|
37 // For setjmp/longjmp. |
|
38 jmp_buf f77_context; |
|
39 |
|
40 // Pointer to the current error handling function. |
|
41 liboctave_error_handler current_liboctave_error_handler = liboctave_fatal; |
|
42 |
|
43 /* |
|
44 ;;; Local Variables: *** |
|
45 ;;; mode: C++ *** |
|
46 ;;; page-delimiter: "^/\\*" *** |
|
47 ;;; End: *** |
|
48 */ |