1559
|
1 // -*- C++ -*- |
|
2 /* |
|
3 |
|
4 Copyright (C) 1993, 1994, 1995 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 "Array.h" |
|
29 |
|
30 // These have to be defined somewhere, but only once. |
|
31 |
|
32 #if defined (HEAVYWEIGHT_INDEXING) |
|
33 #if defined (OCTAVE_SOURCE) |
|
34 #include "user-prefs.h" |
|
35 int& dfi_flag = user_pref.do_fortran_indexing; |
|
36 int& pcv_flag = user_pref.prefer_column_vectors; |
|
37 int& pzo_flag = user_pref.prefer_zero_one_indexing; |
|
38 int& rre_flag = user_pref.resize_on_range_error; |
|
39 #else |
|
40 int dfi_flag = 0; |
|
41 int pcv_flag = 0; |
|
42 int pzo_flag = 0; |
|
43 int rre_flag = 0; |
|
44 #endif |
|
45 #endif |
|
46 |
|
47 /* |
|
48 ;;; Local Variables: *** |
|
49 ;;; mode: C++ *** |
|
50 ;;; page-delimiter: "^/\\*" *** |
|
51 ;;; End: *** |
|
52 */ |