GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
version.in.h
Go to the documentation of this file.
1 // %NO_EDIT_WARNING%
2 /*
3 
4 Copyright (C) 1992-2017 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 the
10 Free Software Foundation; either version 3 of the License, or (at your
11 option) any later version.
12 
13 Octave is distributed in the hope that it will be useful, but WITHOUT
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 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 <http://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 
60 
63  (bool html = false, const std::string& extra_info = "");
64 
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:118
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
#define OCTINTERP_API
Definition: mexproto.h:69
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:96
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:854
OCTINTERP_API std::string octave_name_version_and_copyright(void)
Definition: version.cc:69