diff options
Diffstat (limited to 'source/blender/blenloader/BLO_writefile.h')
-rw-r--r-- | source/blender/blenloader/BLO_writefile.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/source/blender/blenloader/BLO_writefile.h b/source/blender/blenloader/BLO_writefile.h index 746c663926d..9bc3714ff38 100644 --- a/source/blender/blenloader/BLO_writefile.h +++ b/source/blender/blenloader/BLO_writefile.h @@ -21,9 +21,13 @@ /** \file * \ingroup blenloader - * \brief external writefile function prototypes. + * \brief external `writefile.c` function prototypes. */ +#ifdef __cplusplus +extern "C" { +#endif + struct BlendThumbnail; struct Main; struct MemFile; @@ -60,15 +64,25 @@ struct BlendFileWriteParams { const struct BlendThumbnail *thumb; }; +/** + * \return Success. + */ extern bool BLO_write_file(struct Main *mainvar, const char *filepath, const int write_flags, const struct BlendFileWriteParams *params, struct ReportList *reports); +/** + * \return Success. + */ extern bool BLO_write_file_mem(struct Main *mainvar, struct MemFile *compare, struct MemFile *current, int write_flags); /** \} */ + +#ifdef __cplusplus +} +#endif |