GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
version.h
Go to the documentation of this file.
1 // DO NOT EDIT! Generated automatically by mk-version-h.
2 
3 ////////////////////////////////////////////////////////////////////////
4 //
5 // Copyright (C) 1992-2024 The Octave Project Developers
6 //
7 // See the file COPYRIGHT.md in the top-level directory of this
8 // distribution or <https://octave.org/copyright/>.
9 //
10 // This file is part of Octave.
11 //
12 // Octave is free software: you can redistribute it and/or modify it
13 // under the terms of the GNU General Public License as published by
14 // the Free Software Foundation, either version 3 of the License, or
15 // (at your option) any later version.
16 //
17 // Octave is distributed in the hope that it will be useful, but
18 // WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU General Public License for more details.
21 //
22 // You should have received a copy of the GNU General Public License
23 // along with Octave; see the file COPYING. If not, see
24 // <https://www.gnu.org/licenses/>.
25 //
26 ////////////////////////////////////////////////////////////////////////
27 
28 #if ! defined (octave_version_h)
29 #define octave_version_h 1
30 
31 #include "octave-config.h"
32 
33 #define OCTAVE_VERSION "9.1.0"
34 
35 #define OCTAVE_MAJOR_VERSION 9
36 
37 #define OCTAVE_MINOR_VERSION 1
38 
39 #define OCTAVE_PATCH_VERSION 0
40 
41 // The "API version" is used as a way of checking that interfaces in the
42 // liboctave and libinterp libraries haven't changed in a backwardly
43 // incompatible way when loading .oct files. A better way to do that is
44 // with library versioning, but not all systems support that.
45 // NOTE: This macro will be removed in a future version of Octave. If
46 // you insist on checking for features using a version number, use the
47 // OCTAVE_MAJOR_VERSION, OCTAVE_MINOR_VERSION, and
48 // OCTAVE_PATCH_VERSION macros instead.
49 #define OCTAVE_API_VERSION "api-v59"
50 
51 #define OCTAVE_RELEASE_DATE "2024-03-14"
52 
53 #define OCTAVE_CANONICAL_HOST_TYPE "x86_64-pc-linux-gnu"
54 
55 #define OCTAVE_COPYRIGHT "Copyright (C) 1993-2024 The Octave Project Developers."
56 
57 #include <string>
58 
59 extern OCTAVE_API std::string octave_www_statement (bool html = false);
60 
61 extern OCTAVE_API std::string octave_contrib_statement (bool html = false);
62 
63 extern OCTAVE_API std::string octave_bugs_statement (bool html = false);
64 
65 extern OCTAVE_API std::string octave_name_version_and_copyright (bool html = false);
66 
67 extern OCTAVE_API std::string
69  (bool html = false, const std::string& extra_info = "");
70 
71 extern OCTAVE_API std::string
73  (bool html = false, const std::string& extra_info = "");
74 
75 extern OCTAVE_API std::string octave_startup_message (bool html = false);
76 
77 #endif
#define OCTAVE_API
Definition: main.cc:55
std::string octave_contrib_statement(bool html=false)
Definition: version.cc:56
std::string octave_startup_message(bool html=false)
Definition: version.cc:118
std::string octave_bugs_statement(bool html=false)
Definition: version.cc:63
std::string octave_name_version_copyright_copying_and_warranty(bool html=false, const std::string &extra_info="")
Definition: version.cc:84
std::string octave_name_version_copyright_copying_warranty_and_bugs(bool html=false, const std::string &extra_info="")
Definition: version.cc:102
std::string octave_www_statement(bool html=false)
Definition: version.cc:49
std::string octave_name_version_and_copyright(bool html=false)
Definition: version.cc:70