Mercurial > hg > octave-nkf
annotate libinterp/template-inst/Array-tc.cc @ 19797:6ba5f1ff041e
Don't print start-up message when input is a non-interactive script.
* octave.cc (octave_process_command_line): Check for code to eval or a script
file in input args and set inhibit_startup_messag if found.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 20 Jan 2015 17:34:56 -0800 |
parents | d63878346099 |
children | 4197fc428c7d |
rev | line source |
---|---|
2928 | 1 /* |
2 | |
17744
d63878346099
maint: Update copyright notices for release.
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
3 Copyright (C) 1996-2013 John W. Eaton |
2928 | 4 |
5 This file is part of Octave. | |
6 | |
7 Octave is free software; you can redistribute it and/or modify it | |
8 under the terms of the GNU General Public License as published by the | |
7016 | 9 Free Software Foundation; either version 3 of the License, or (at your |
10 option) any later version. | |
2928 | 11 |
12 Octave is distributed in the hope that it will be useful, but WITHOUT | |
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
15 for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
7016 | 18 along with Octave; see the file COPYING. If not, see |
19 <http://www.gnu.org/licenses/>. | |
2928 | 20 |
21 */ | |
22 | |
23 // Instantiate Arrays of octave_values. | |
24 | |
25 #ifdef HAVE_CONFIG_H | |
26 #include <config.h> | |
27 #endif | |
28 | |
29 #include "Array.h" | |
30 #include "Array.cc" | |
31 | |
9208
cb163402bf79
narrow include in Array-tc.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8920
diff
changeset
|
32 #include "ov.h" |
2928 | 33 |
7433 | 34 #include "oct-sort.cc" |
35 | |
8732 | 36 NO_INSTANTIATE_ARRAY_SORT (octave_value); |
7433 | 37 |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
38 INSTANTIATE_ARRAY (octave_value, OCTINTERP_API); |