00001 // misc-extern.cc -*- C++ -*- 00002 /* 00003 00004 Copyright (C) 1996-2012 John W. Eaton 00005 00006 This file is part of Octave. 00007 00008 Octave is free software; you can redistribute it and/or modify it 00009 under the terms of the GNU General Public License as published by the 00010 Free Software Foundation; either version 3 of the License, or (at your 00011 option) any later version. 00012 00013 Octave is distributed in the hope that it will be useful, but WITHOUT 00014 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00015 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00016 for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with Octave; see the file COPYING. If not, see 00020 <http://www.gnu.org/licenses/>. 00021 00022 */ 00023 00024 #ifdef HAVE_CONFIG_H 00025 #include <config.h> 00026 #endif 00027 00028 #include "f77-fcn.h" 00029 #include "lo-error.h" 00030 00031 // This whole file is a kluge just to avoid unresolved symbol errors 00032 // when creating shared versions of libcruft. 00033 00034 // So we can check to see if an exception has occurred. 00035 int f77_exception_encountered = 0;