diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-10-12 15:31:47 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-10-12 15:31:47 +0300 |
commit | d24bafa0d5b0f1f833145524b7073a513a272b17 (patch) | |
tree | e976c5ab1a09a2c6f94b9703687371bb54058a30 /source/blender/blenloader/BLO_readfile.h | |
parent | 6f41febff17f80485485a4dbadf483617f3901be (diff) |
Cleanup: BLO: use proper typedef for expand_doit callback.
Diffstat (limited to 'source/blender/blenloader/BLO_readfile.h')
-rw-r--r-- | source/blender/blenloader/BLO_readfile.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h index 44c6d270cf5..eda76ec8402 100644 --- a/source/blender/blenloader/BLO_readfile.h +++ b/source/blender/blenloader/BLO_readfile.h @@ -110,7 +110,9 @@ BlendFileData *blo_read_blendafterruntime(int file, const char *name, int actual /* internal function but we need to expose it */ void blo_lib_link_screen_restore(struct Main *newmain, struct bScreen *curscreen, struct Scene *curscene); -void BLO_main_expander(void (*expand_doit_func)(void *, struct Main *, void *)); +typedef void (*BLOExpandDoitCallback) (void *fdhandle, struct Main *mainvar, void *idv); + +void BLO_main_expander(BLOExpandDoitCallback expand_doit_func); void BLO_expand_main(void *fdhandle, struct Main *mainvar); /* Update defaults in startup.blend & userprefs.blend, without having to save and embed it */ |