diff options
Diffstat (limited to 'source/blender/makesdna/DNA_sdna_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_sdna_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_sdna_types.h b/source/blender/makesdna/DNA_sdna_types.h index 36075d62002..b39b672e84c 100644 --- a/source/blender/makesdna/DNA_sdna_types.h +++ b/source/blender/makesdna/DNA_sdna_types.h @@ -64,6 +64,14 @@ typedef struct SDNA { /** Temporary memory currently only used for version patching DNA. */ struct MemArena *mem_arena; + /** Runtime versions of data stored in DNA, lazy initialized, + * only different when renaming is done. */ + struct { + /** Aligned with #SDNA.names, same pointers when unchanged. */ + const char **names; + /** Aligned with #SDNA.types, same pointers when unchanged. */ + const char **types; + } alias; } SDNA; # |