diff options
author | Jacques Lucke <jacques@blender.org> | 2022-09-15 20:13:01 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-09-15 20:13:13 +0300 |
commit | 8b26349d5777179808792ab123f98f5a90428754 (patch) | |
tree | 35c9536193344664790b95e82c22fb488e1d4e5c /source/blender/blenloader/BLO_undofile.h | |
parent | 9f76d0c8e6dd2570e0da1763fcadfb738add4be2 (diff) |
BLO: move blenloader to C++
Differential Revision: https://developer.blender.org/D15965
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 |