diff options
Diffstat (limited to 'source/blender/blenloader/BLO_undofile.h')
-rw-r--r-- | source/blender/blenloader/BLO_undofile.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/blenloader/BLO_undofile.h b/source/blender/blenloader/BLO_undofile.h index fb96ec75e62..d3c0130a63b 100644 --- a/source/blender/blenloader/BLO_undofile.h +++ b/source/blender/blenloader/BLO_undofile.h @@ -35,15 +35,16 @@ typedef struct { void *next, *prev; - - char *buf; - unsigned int ident, size; - + const char *buf; + /** Size in bytes. */ + unsigned int size; + /** When true, this chunk doesn't own the memory, it's shared with a previous #MemFileChunk */ + bool is_identical; } MemFileChunk; typedef struct MemFile { ListBase chunks; - unsigned int size; + size_t size; } MemFile; /* actually only used writefile.c */ |