From 92b1d3f9461e6d122d6523955cc8124559e5f36e Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 19 Dec 2008 16:36:15 +0000 Subject: 2.5: blenloader/ cleaning: - removed context usage, should not be in this module - remove G.main usage, now is passed along - still some globals in use here, goal is to get rid of those too, so that it's possible to load/save blendfiles without having to think about some global state. --- source/blender/blenloader/BLO_writefile.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/blenloader/BLO_writefile.h') diff --git a/source/blender/blenloader/BLO_writefile.h b/source/blender/blenloader/BLO_writefile.h index 8205a43f39f..66ddffa9f19 100644 --- a/source/blender/blenloader/BLO_writefile.h +++ b/source/blender/blenloader/BLO_writefile.h @@ -32,13 +32,13 @@ #define BLO_WRITEFILE_H struct MemFile; -struct bContext; +struct Main; struct ReportList; -extern int BLO_write_file(struct bContext *C, char *dir, int write_flags, struct ReportList *reports); -extern int BLO_write_file_mem(struct bContext *C, struct MemFile *compare, struct MemFile *current, +extern int BLO_write_file(struct Main *mainvar, char *dir, int write_flags, struct ReportList *reports); +extern int BLO_write_file_mem(struct Main *mainvar, struct MemFile *compare, struct MemFile *current, int write_flags, struct ReportList *reports); -extern int BLO_write_runtime(struct bContext *C, char *file, char *exename, struct ReportList *reports); +extern int BLO_write_runtime(struct Main *mainvar, char *file, char *exename, struct ReportList *reports); #endif -- cgit v1.2.3