Mercurial > hg > octave-nkf
annotate libinterp/version.in.h @ 20794:e5986cba4ca8
new octave_value::cell_value method with optional error message
* ov.h, ov.cc (octave_value::cell_value): New method.
* ov-base.h, ov-base.cc (octave_base_value::cell_value):
New default method.
* ov-cell.h, ov-cell.cc (octave_cell::cell_value): New method.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 09 Oct 2015 14:41:49 -0400 |
parents | 4197fc428c7d |
children |
rev | line source |
---|---|
15100
8523df595d42
maint: Add DO NOT EDIT messages to build system for src/*.in.h.
Rik <rik@octave.org>
parents:
15089
diff
changeset
|
1 // %NO_EDIT_WARNING% |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 /* |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 |
19898
4197fc428c7d
maint: Update copyright notices for 2015.
John W. Eaton <jwe@octave.org>
parents:
18228
diff
changeset
|
4 Copyright (C) 1992-2015 John W. Eaton |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 This file is part of Octave. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 Octave is free software; you can redistribute it and/or modify it |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 under the terms of the GNU General Public License as published by the |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 Free Software Foundation; either version 3 of the License, or (at your |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 option) any later version. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 Octave is distributed in the hope that it will be useful, but WITHOUT |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 for more details. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 You should have received a copy of the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 along with Octave; see the file COPYING. If not, see |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 <http://www.gnu.org/licenses/>. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 */ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 #if !defined (octave_version_h) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 #define octave_version_h 1 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 |
9906 | 27 #define OCTAVE_VERSION %OCTAVE_VERSION% |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 |
18228
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
29 #define OCTAVE_MAJOR_VERSION %OCTAVE_MAJOR_VERSION% |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
30 |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
31 #define OCTAVE_MINOR_VERSION %OCTAVE_MINOR_VERSION% |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
32 |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
33 #define OCTAVE_PATCH_VERSION %OCTAVE_PATCH_VERSION% |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
34 |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
35 // The "API version" is used as a way of checking that interfaces in the |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
36 // liboctave and libinterp libraries haven't changed in a backwardly |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
37 // incompatible way when loading .oct files. A better way to do that is |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
38 // with library versioning, but not all systems support that. |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
39 // NOTE: This macro will be removed in a future version of Octave. If |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
40 // you insist on checking for features using a version number, use the |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
41 // OCTAVE_MAJOR_VERSION, OCTAVE_MINOR_VERSION, and |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
42 // OCTAVE_PATCH_VERSION macros instead. |
9906 | 43 #define OCTAVE_API_VERSION %OCTAVE_API_VERSION% |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
44 |
9906 | 45 #define OCTAVE_RELEASE_DATE %OCTAVE_RELEASE_DATE% |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
46 |
9906 | 47 #define OCTAVE_COPYRIGHT %OCTAVE_COPYRIGHT% |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
48 |
17685
3d862202c4f6
Ensure <string> is included when incuding version.h
Philip Nienhuis <prnienhuis@users.sf.net>
parents:
17510
diff
changeset
|
49 #include <string> |
3d862202c4f6
Ensure <string> is included when incuding version.h
Philip Nienhuis <prnienhuis@users.sf.net>
parents:
17510
diff
changeset
|
50 |
17956
6e43fbab4b29
Export symbols from version.h.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17744
diff
changeset
|
51 extern OCTINTERP_API std::string octave_www_statement (bool html = false); |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
52 |
17956
6e43fbab4b29
Export symbols from version.h.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17744
diff
changeset
|
53 extern OCTINTERP_API std::string octave_contrib_statement (bool html = false); |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
54 |
17956
6e43fbab4b29
Export symbols from version.h.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17744
diff
changeset
|
55 extern OCTINTERP_API std::string octave_bugs_statement (bool html = false); |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
56 |
17956
6e43fbab4b29
Export symbols from version.h.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17744
diff
changeset
|
57 extern OCTINTERP_API std::string octave_name_version_and_copyright (void); |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
58 |
17956
6e43fbab4b29
Export symbols from version.h.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17744
diff
changeset
|
59 extern OCTINTERP_API std::string |
17510
7542f4496974
eliminate some macros in version.h
John W. Eaton <jwe@octave.org>
parents:
15512
diff
changeset
|
60 octave_name_version_copyright_copying_and_warranty |
7542f4496974
eliminate some macros in version.h
John W. Eaton <jwe@octave.org>
parents:
15512
diff
changeset
|
61 (bool html = false, const std::string& extra_info = std::string ()); |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
62 |
17956
6e43fbab4b29
Export symbols from version.h.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17744
diff
changeset
|
63 extern OCTINTERP_API std::string |
17510
7542f4496974
eliminate some macros in version.h
John W. Eaton <jwe@octave.org>
parents:
15512
diff
changeset
|
64 octave_name_version_copyright_copying_warranty_and_bugs |
7542f4496974
eliminate some macros in version.h
John W. Eaton <jwe@octave.org>
parents:
15512
diff
changeset
|
65 (bool html = false, const std::string& extra_info = std::string ()); |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
66 |
17956
6e43fbab4b29
Export symbols from version.h.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17744
diff
changeset
|
67 extern OCTINTERP_API std::string octave_startup_message (bool html = false); |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
68 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
69 #endif |