diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-07-25 22:35:49 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-07-25 22:35:49 +0400 |
commit | cb988ff8a9c9df1d1e85c5ec1296857ffcb06dbd (patch) | |
tree | 01dbc3837a0c8dfceaa1c25b47ddc3ec94314e40 /source/blender/blenloader/intern/readfile.h | |
parent | dec3fa07f3b03e012d15fb8904a5eb12b12d3390 (diff) |
- fix some error handling in blend loader, correct error codes
were not always returned.
Diffstat (limited to 'source/blender/blenloader/intern/readfile.h')
-rw-r--r-- | source/blender/blenloader/intern/readfile.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/readfile.h b/source/blender/blenloader/intern/readfile.h index 19534095f98..6389cfaa6f5 100644 --- a/source/blender/blenloader/intern/readfile.h +++ b/source/blender/blenloader/intern/readfile.h @@ -100,9 +100,9 @@ void blo_split_main(ListBase *mainlist); BlendFileData *blo_read_file_internal( FileData *fd, BlendReadError *error_r); -FileData *blo_openblenderfile( char *name); -FileData *blo_openblendermemory( void *buffer, int buffersize); -FileData *blo_openblendermemfile(struct MemFile *memfile); +FileData *blo_openblenderfile( char *name, BlendReadError *error_r); +FileData *blo_openblendermemory( void *buffer, int buffersize, BlendReadError *error_r); +FileData *blo_openblendermemfile(struct MemFile *memfile, BlendReadError *error_r); void blo_freefiledata( FileData *fd); |