|
Blender V4.3
|
#include "BLI_compiler_attrs.h"#include "BLI_utildefines.h"#include "DNA_genfile.h"#include "DNA_listBase.h"#include "BLO_readfile.hh"#include "readfile.hh"Go to the source code of this file.
Macros | |
| #define | DNA_VERSION_ATLEAST(ver, subver) (versionfile > (ver) || (versionfile == (ver) && (subversionfile >= (subver)))) |
Functions | |
| void | blo_do_versions_dna (SDNA *sdna, const int versionfile, const int subversionfile) |
Apply edits to DNA at load time to behave as if old files were written with new names.
Definition in file versioning_dna.cc.
| #define DNA_VERSION_ATLEAST | ( | ver, | |
| subver ) (versionfile > (ver) || (versionfile == (ver) && (subversionfile >= (subver)))) |
Referenced by blo_do_versions_dna().
Manipulates SDNA before calling DNA_struct_get_compareflags, allowing us to rename structs and struct members.
dna_rename_defs.h ISN'T SUFFICIENT. Definition at line 20 of file versioning_dna.cc.
References DNA_sdna_patch_struct_by_name(), DNA_sdna_patch_struct_member_by_name(), and DNA_VERSION_ATLEAST.
Referenced by read_file_dna().