Blender V4.3
BKE_blender_version.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4#pragma once
5
6#include "BLI_utildefines.h"
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
24#define BLENDER_VERSION 403
26#define BLENDER_VERSION_PATCH 0
28#define BLENDER_VERSION_CYCLE release
30#define BLENDER_VERSION_SUFFIX
31
32/* Blender file format version. */
33#define BLENDER_FILE_VERSION BLENDER_VERSION
34#define BLENDER_FILE_SUBVERSION 32
35
36/* Minimum Blender version that supports reading file written with the current
37 * version. Older Blender versions will test this and cancel loading the file, showing a warning to
38 * the user.
39 *
40 * See
41 * https://developer.blender.org/docs/handbook/guidelines/compatibility_handling_for_blend_files/
42 * for details. */
43#define BLENDER_FILE_MIN_VERSION 306
44#define BLENDER_FILE_MIN_SUBVERSION 13
45
47const char *BKE_blender_version_string(void);
48
51
54
57
69 const size_t str_buff_maxncpy,
70 const short file_version,
71 const short file_subversion);
72
73#ifdef __cplusplus
74}
75#endif
bool BKE_blender_version_is_alpha(void)
Definition blender.cc:169
bool BKE_blender_version_is_lts(void)
Definition blender.cc:175
const char * BKE_blender_version_string_compact(void)
Definition blender.cc:144
const char * BKE_blender_version_string(void)
Definition blender.cc:139
void BKE_blender_version_blendfile_string_from_values(char *str_buff, const size_t str_buff_maxncpy, const short file_version, const short file_subversion)
Definition blender.cc:149