diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 09:37:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 09:51:45 +0300 |
commit | 4f48b2992bdfa2926c61457b364b75900d7416b0 (patch) | |
tree | 74992624a706803e3aa135722f39735338431cf3 /source/blender/blenloader/intern/undofile.c | |
parent | 93ba5e237546f58819cdff838334470e30ec0294 (diff) |
Cleanup: move public doc-strings into headers for 'blenloader'
Ref T92709
Diffstat (limited to 'source/blender/blenloader/intern/undofile.c')
-rw-r--r-- | source/blender/blenloader/intern/undofile.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/blenloader/intern/undofile.c b/source/blender/blenloader/intern/undofile.c index 62072cf7df5..dfa6135dac9 100644 --- a/source/blender/blenloader/intern/undofile.c +++ b/source/blender/blenloader/intern/undofile.c @@ -55,7 +55,6 @@ /* **************** support for memory-write, for undo buffers *************** */ -/* not memfile itself */ void BLO_memfile_free(MemFile *memfile) { MemFileChunk *chunk; @@ -69,8 +68,6 @@ void BLO_memfile_free(MemFile *memfile) memfile->size = 0; } -/* to keep list of memfiles consistent, 'first' is always first in list */ -/* result is that 'first' is being freed */ void BLO_memfile_merge(MemFile *first, MemFile *second) { /* We use this mapping to store the memory buffers from second memfile chunks which are not owned @@ -106,7 +103,6 @@ void BLO_memfile_merge(MemFile *first, MemFile *second) BLO_memfile_free(first); } -/* Clear is_identical_future before adding next memfile. */ void BLO_memfile_clear_future(MemFile *memfile) { LISTBASE_FOREACH (MemFileChunk *, chunk, &memfile->chunks) { @@ -216,11 +212,6 @@ struct Main *BLO_memfile_main_get(struct MemFile *memfile, return bmain_undo; } -/** - * Saves .blend using undo buffer. - * - * \return success. - */ bool BLO_memfile_write_file(struct MemFile *memfile, const char *filename) { MemFileChunk *chunk; |