annotate liboctave/version.in.h @ 33589:f07a7fe7bd51 default tip @

maint: merge stable to default
author Rik <rik@octave.org>
date Thu, 16 May 2024 08:32:01 -0700
parents 2e484f9f1f18
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
3 ////////////////////////////////////////////////////////////////////////
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
4 //
32632
2e484f9f1f18 maint: update Octave Project Developers copyright for the new year
John W. Eaton <jwe@octave.org>
parents: 32520
diff changeset
5 // Copyright (C) 1992-2024 The Octave Project Developers
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
6 //
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
7 // See the file COPYRIGHT.md in the top-level directory of this
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
8 // distribution or <https://octave.org/copyright/>.
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
9 //
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
10 // This file is part of Octave.
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
11 //
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
12 // Octave is free software: you can redistribute it and/or modify it
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
13 // under the terms of the GNU General Public License as published by
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
14 // the Free Software Foundation, either version 3 of the License, or
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
15 // (at your option) any later version.
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
16 //
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
17 // Octave is distributed in the hope that it will be useful, but
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
18 // WITHOUT ANY WARRANTY; without even the implied warranty of
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
20 // GNU General Public License for more details.
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
21 //
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
22 // You should have received a copy of the GNU General Public License
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
23 // along with Octave; see the file COPYING. If not, see
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
24 // <https://www.gnu.org/licenses/>.
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
25 //
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
26 ////////////////////////////////////////////////////////////////////////
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27
20791
f7084eae3318 maint: Use Octave coding conventions for #if statements.
Rik <rik@octave.org>
parents: 19697
diff changeset
28 #if ! defined (octave_version_h)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 #define octave_version_h 1
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30
21244
1473547f50f5 include octave-config.h in public header files
John W. Eaton <jwe@octave.org>
parents: 21017
diff changeset
31 #include "octave-config.h"
1473547f50f5 include octave-config.h in public header files
John W. Eaton <jwe@octave.org>
parents: 21017
diff changeset
32
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9794
diff changeset
33 #define OCTAVE_VERSION %OCTAVE_VERSION%
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34
18229
b6b6e0dc700e provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents: 17956
diff changeset
35 #define OCTAVE_MAJOR_VERSION %OCTAVE_MAJOR_VERSION%
b6b6e0dc700e provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents: 17956
diff changeset
36
b6b6e0dc700e provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents: 17956
diff changeset
37 #define OCTAVE_MINOR_VERSION %OCTAVE_MINOR_VERSION%
b6b6e0dc700e provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents: 17956
diff changeset
38
b6b6e0dc700e provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents: 17956
diff changeset
39 #define OCTAVE_PATCH_VERSION %OCTAVE_PATCH_VERSION%
b6b6e0dc700e provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents: 17956
diff changeset
40
b6b6e0dc700e provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents: 17956
diff changeset
41 // 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
42 // 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
43 // 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
44 // 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
45 // 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
46 // 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
47 // OCTAVE_MAJOR_VERSION, OCTAVE_MINOR_VERSION, and
b6b6e0dc700e provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents: 17956
diff changeset
48 // OCTAVE_PATCH_VERSION macros instead.
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9794
diff changeset
49 #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
50
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9794
diff changeset
51 #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
52
25397
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25054
diff changeset
53 #define OCTAVE_CANONICAL_HOST_TYPE %OCTAVE_CANONICAL_HOST_TYPE%
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25054
diff changeset
54
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9794
diff changeset
55 #define OCTAVE_COPYRIGHT %OCTAVE_COPYRIGHT%
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
56
17685
3d862202c4f6 Ensure <string> is included when incuding version.h
Philip Nienhuis <prnienhuis@users.sf.net>
parents: 17510
diff changeset
57 #include <string>
3d862202c4f6 Ensure <string> is included when incuding version.h
Philip Nienhuis <prnienhuis@users.sf.net>
parents: 17510
diff changeset
58
29232
7bd81f266c21 Set API tags in remaining file in liboctave (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents: 27923
diff changeset
59 extern OCTAVE_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
60
29232
7bd81f266c21 Set API tags in remaining file in liboctave (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents: 27923
diff changeset
61 extern OCTAVE_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
62
29232
7bd81f266c21 Set API tags in remaining file in liboctave (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents: 27923
diff changeset
63 extern OCTAVE_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
64
32520
59d086639602 maint: Fix compilation error resultin from cset 6ff63f154144.
Rik <rik@octave.org>
parents: 31771
diff changeset
65 extern OCTAVE_API std::string octave_name_version_and_copyright (bool html = false);
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
66
29232
7bd81f266c21 Set API tags in remaining file in liboctave (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents: 27923
diff changeset
67 extern OCTAVE_API std::string
17510
7542f4496974 eliminate some macros in version.h
John W. Eaton <jwe@octave.org>
parents: 15512
diff changeset
68 octave_name_version_copyright_copying_and_warranty
21017
93748bcaec17 maint: Replace emtpy 'std::string ()' calls with "".
Rik <rik@octave.org>
parents: 20791
diff changeset
69 (bool html = false, const std::string& extra_info = "");
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
70
29232
7bd81f266c21 Set API tags in remaining file in liboctave (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents: 27923
diff changeset
71 extern OCTAVE_API std::string
17510
7542f4496974 eliminate some macros in version.h
John W. Eaton <jwe@octave.org>
parents: 15512
diff changeset
72 octave_name_version_copyright_copying_warranty_and_bugs
21017
93748bcaec17 maint: Replace emtpy 'std::string ()' calls with "".
Rik <rik@octave.org>
parents: 20791
diff changeset
73 (bool html = false, const std::string& extra_info = "");
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
74
29232
7bd81f266c21 Set API tags in remaining file in liboctave (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents: 27923
diff changeset
75 extern OCTAVE_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
76
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
77 #endif