diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-08-04 05:43:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-08-04 05:43:07 +0300 |
commit | 5950b3ab739f0d57cdac44c57d4448c0a5dbebb2 (patch) | |
tree | 3cf5a7a0f1591a3fd441941fa03251d449cab94d /source/blender/blenloader/intern/versioning_common.h | |
parent | 71dc134f8908cda02a3e5e5800bb9da966c10ad2 (diff) |
Cleanup: de-duplicate ID renaming utility for versioning
Diffstat (limited to 'source/blender/blenloader/intern/versioning_common.h')
-rw-r--r-- | source/blender/blenloader/intern/versioning_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_common.h b/source/blender/blenloader/intern/versioning_common.h index a1769d4639e..47e0b74a3e4 100644 --- a/source/blender/blenloader/intern/versioning_common.h +++ b/source/blender/blenloader/intern/versioning_common.h @@ -22,6 +22,7 @@ struct ARegion; struct ListBase; +struct Main; #ifdef __cplusplus extern "C" { @@ -32,6 +33,11 @@ struct ARegion *do_versions_add_region_if_not_found(struct ListBase *regionbase, const char *name, int link_after_region_type); +ID *do_versions_rename_id(Main *bmain, + const short id_type, + const char *name_src, + const char *name_dst); + #ifdef __cplusplus } #endif |