Blender  V2.93
BKE_blender_version.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  */
16 #pragma once
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
33 /* Blender major and minor version. */
34 #define BLENDER_VERSION 293
35 /* Blender patch version for bugfix releases. */
36 #define BLENDER_VERSION_PATCH 14
38 #define BLENDER_VERSION_CYCLE release
39 
40 /* Blender file format version. */
41 #define BLENDER_FILE_VERSION BLENDER_VERSION
42 #define BLENDER_FILE_SUBVERSION 21
43 
44 /* Minimum Blender version that supports reading file written with the current
45  * version. Older Blender versions will test this and show a warning if the file
46  * was written with too new a version. */
47 #define BLENDER_FILE_MIN_VERSION 290
48 #define BLENDER_FILE_MIN_SUBVERSION 0
49 
51 const char *BKE_blender_version_string(void);
52 
53 /* Returns true when version cycle is alpha, otherwise (beta, rc) returns false. */
55 
56 #ifdef __cplusplus
57 }
58 #endif
bool BKE_blender_version_is_alpha(void)
Definition: blender.c:147
const char * BKE_blender_version_string(void)
Definition: blender.c:142