Mercurial > octave-nkf
annotate libinterp/corefcn/cdisplay.h @ 20616:fd0efcdb3718
use new string_value method to handle value extraction errors
* dirfns.cc, file-io.cc, gammainc.cc, help.cc, load-path.cc,
octave-link.cc, qz.cc, regexp.cc, strfns.cc, syscalls.cc, time.cc,
variables.cc: Use new string_value method.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 08 Oct 2015 19:00:51 -0400 |
parents | 4197fc428c7d |
children |
rev | line source |
---|---|
18966
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 /* |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 |
19731
4197fc428c7d
maint: Update copyright notices for 2015.
John W. Eaton <jwe@octave.org>
parents:
18966
diff
changeset
|
3 Copyright (C) 2014-2015 John W. Eaton |
18966
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 This file is part of Octave. |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 Octave is free software; you can redistribute it and/or modify it |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 under the terms of the GNU General Public License as published by the |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 Free Software Foundation; either version 3 of the License, or (at your |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 option) any later version. |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 Octave is distributed in the hope that it will be useful, but WITHOUT |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 for more details. |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 You should have received a copy of the GNU General Public License |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 along with Octave; see the file COPYING. If not, see |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 <http://www.gnu.org/licenses/>. |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 */ |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 #if !defined (octave_cdisplay_h) |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 #define octave_cdisplay_h 1 |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 #ifdef __cplusplus |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
27 extern "C" { |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 #endif |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
29 |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
30 OCTINTERP_API extern const char * |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
31 octave_get_display_info (int *ht, int *wd, int *dp, double *rx, double *ry, |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
32 int *dpy_avail); |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
33 |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
34 #ifdef __cplusplus |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
35 } |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
36 #endif |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
37 |
edc4791fbcb2
avoid some old-style cast warnings
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
38 #endif |