diff options
Diffstat (limited to 'source/blender/blenloader/BLO_undofile.h')
-rw-r--r-- | source/blender/blenloader/BLO_undofile.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenloader/BLO_undofile.h b/source/blender/blenloader/BLO_undofile.h index 0584f95d85f..0dee167db53 100644 --- a/source/blender/blenloader/BLO_undofile.h +++ b/source/blender/blenloader/BLO_undofile.h @@ -61,6 +61,10 @@ typedef struct { bool memchunk_identical; } UndoReader; +#ifdef __cplusplus +extern "C" { +#endif + /* Actually only used `writefile.c`. */ void BLO_memfile_write_init(MemFileWriteData *mem_data, @@ -101,3 +105,7 @@ extern struct Main *BLO_memfile_main_get(struct MemFile *memfile, extern bool BLO_memfile_write_file(struct MemFile *memfile, const char *filepath); FileReader *BLO_memfile_new_filereader(MemFile *memfile, int undo_direction); + +#ifdef __cplusplus +} +#endif |