![]() |
Blender V2.61 - r43446
|
#include <stdlib.h>#include <string.h>#include <stdio.h>#include <math.h>#include "MEM_guardedalloc.h"#include "DNA_listBase.h"#include "BLO_undofile.h"#include "BLI_blenlib.h"#include "BLI_linklist.h"Go to the source code of this file.
Functions | |
| void | BLO_free_memfile (MemFile *memfile) |
| void | BLO_merge_memfile (MemFile *first, MemFile *second) |
| static int | my_memcmp (int *mem1, int *mem2, int len) |
| void | add_memfilechunk (MemFile *compare, MemFile *current, char *buf, unsigned int size) |
Definition in file undofile.c.
Definition at line 100 of file undofile.c.
References BLI_addtail(), MemFileChunk::buf, MemFile::chunks, ListBase::first, MemFileChunk::ident, MEM_mallocN(), my_memcmp(), MemFileChunk::next, NULL, MemFile::size, size(), and MemFileChunk::size.
Referenced by bgnwrite(), and writedata_do_write().
| void BLO_free_memfile | ( | MemFile * | memfile | ) |
Definition at line 54 of file undofile.c.
References BLI_remlink(), MemFileChunk::buf, MemFile::chunks, ListBase::first, MemFileChunk::ident, MEM_freeN(), and MemFile::size.
Referenced by BKE_reset_undo(), BKE_write_undo(), and BLO_merge_memfile().
Definition at line 68 of file undofile.c.
References BLO_free_memfile(), MemFile::chunks, ListBase::first, MemFileChunk::ident, and MemFileChunk::next.
Referenced by BKE_write_undo().
| static int my_memcmp | ( | int * | mem1, |
| int * | mem2, | ||
| int | len | ||
| ) | [static] |