Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenloader/intern/readblenentry.c')
-rw-r--r--source/blender/blenloader/intern/readblenentry.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readblenentry.c b/source/blender/blenloader/intern/readblenentry.c
index d66d802c8ee..da441214b37 100644
--- a/source/blender/blenloader/intern/readblenentry.c
+++ b/source/blender/blenloader/intern/readblenentry.c
@@ -76,6 +76,15 @@ BlendHandle *BLO_blendhandle_from_file(char *file)
return bh;
}
+BlendHandle *BLO_blendhandle_from_memory(void *mem, int memsize)
+{
+ BlendHandle *bh;
+
+ bh= (BlendHandle*)blo_openblendermemory(mem, memsize, NULL);
+
+ return bh;
+}
+
void BLO_blendhandle_print_sizes(BlendHandle *bh, void *fp)
{
FileData *fd= (FileData*) bh;