GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
version.in.h
Go to the documentation of this file.
1 // %NO_EDIT_WARNING%
2 /*
3 
4 Copyright (C) 1992-2018 John W. Eaton
5 
6 This file is part of Octave.
7 
8 Octave is free software: you can redistribute it and/or modify it
9 under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
12 
13 Octave is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17 
18 You should have received a copy of the GNU General Public License
19 along with Octave; see the file COPYING. If not, see
20 <https://www.gnu.org/licenses/>.
21 
22 */
23 
24 #if ! defined (octave_version_h)
25 #define octave_version_h 1
26 
27 #include "octave-config.h"
28 
29 #define OCTAVE_VERSION %OCTAVE_VERSION%
30 
31 #define OCTAVE_MAJOR_VERSION %OCTAVE_MAJOR_VERSION%
32 
33 #define OCTAVE_MINOR_VERSION %OCTAVE_MINOR_VERSION%
34 
35 #define OCTAVE_PATCH_VERSION %OCTAVE_PATCH_VERSION%
36 
37 // The "API version" is used as a way of checking that interfaces in the
38 // liboctave and libinterp libraries haven't changed in a backwardly
39 // incompatible way when loading .oct files. A better way to do that is
40 // with library versioning, but not all systems support that.
41 // NOTE: This macro will be removed in a future version of Octave. If
42 // you insist on checking for features using a version number, use the
43 // OCTAVE_MAJOR_VERSION, OCTAVE_MINOR_VERSION, and
44 // OCTAVE_PATCH_VERSION macros instead.
45 #define OCTAVE_API_VERSION %OCTAVE_API_VERSION%
46 
47 #define OCTAVE_RELEASE_DATE %OCTAVE_RELEASE_DATE%
48 
49 #define OCTAVE_COPYRIGHT %OCTAVE_COPYRIGHT%
50 
51 #include <string>
52 
53 extern OCTINTERP_API std::string octave_www_statement (bool html = false);
54 
55 extern OCTINTERP_API std::string octave_contrib_statement (bool html = false);
56 
57 extern OCTINTERP_API std::string octave_bugs_statement (bool html = false);
58 
59 extern OCTINTERP_API std::string octave_name_version_and_copyright (void);
60 
61 extern OCTINTERP_API std::string
63  (bool html = false, const std::string& extra_info = "");
64 
65 extern OCTINTERP_API std::string
67  (bool html = false, const std::string& extra_info = "");
68 
69 extern OCTINTERP_API std::string octave_startup_message (bool html = false);
70 
71 #endif
OCTINTERP_API std::string octave_startup_message(bool html=false)
Definition: version.cc:120
OCTINTERP_API std::string octave_www_statement(bool html=false)
Definition: version.cc:47
OCTINTERP_API std::string octave_bugs_statement(bool html=false)
Definition: version.cc:62
OCTINTERP_API std::string octave_contrib_statement(bool html=false)
Definition: version.cc:54
OCTINTERP_API std::string octave_name_version_copyright_copying_and_warranty(bool html=false, const std::string &extra_info="")
Definition: version.cc:80
OCTINTERP_API std::string octave_name_version_copyright_copying_warranty_and_bugs(bool html=false, const std::string &extra_info="")
Definition: version.cc:98
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
Definition: utils.cc:888
OCTINTERP_API std::string octave_name_version_and_copyright(void)
Definition: version.cc:69