X-Git-Url: https://git.blender.org/gitweb/gitweb.cgi/blender-staging.git/blobdiff_plain/fcc85eea128dc31a18a511ffb4831f9aa203ed93:/source/blender/readblenfile/test/test.c..3a34dcde680ca55ce054c9f5f216d73ff33edf68:/source/blender/blenloader/BLO_runtime.h diff --git a/source/blender/readblenfile/test/test.c b/source/blender/blenloader/BLO_runtime.h similarity index 70% rename from source/blender/readblenfile/test/test.c rename to source/blender/blenloader/BLO_runtime.h index 647df053c38..920b14e92fa 100644 --- a/source/blender/readblenfile/test/test.c +++ b/source/blender/blenloader/BLO_runtime.h @@ -25,27 +25,29 @@ * Contributor(s): none yet. * * ***** END GPL LICENSE BLOCK ***** + * + */ + +#ifndef BLO_RUNTIME_H +#define BLO_RUNTIME_H + +/** \file BLO_runtime.h + * \ingroup blenloader */ -#include // strlen -#include "BLO_readblenfile.h" - -struct streamGlueControlStruct *Global_streamGlueControl; - - int -streamGlueWrite( - struct streamGlueControlStruct *streamGlueControl, - struct streamGlueStruct **streamGlue, - unsigned char *data, - unsigned int dataIn, - int finishUp) -{ - printf("called with %d bytes in buffer [%s]\n", dataIn, data); - return (0); -} -main() -{ - int err; +#ifdef __cplusplus +extern "C" { +#endif - err = BLO_readblenfile(); +struct BlendFileData; +struct ReportList; + +int BLO_is_a_runtime(char *file); +struct BlendFileData *BLO_read_runtime(char *file, struct ReportList *reports); + +#ifdef __cplusplus } +#endif + +#endif /* BLO_RUNTIME_H */ +