From 854cc87a80ef8526416b931ef735bc6bacb6ede5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 20 Nov 2009 15:01:09 +0000 Subject: option to have scripts run on startup for per blendfile UI's --- source/blender/python/generic/bpy_internal_import.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/blender/python/generic/bpy_internal_import.h') diff --git a/source/blender/python/generic/bpy_internal_import.h b/source/blender/python/generic/bpy_internal_import.h index 4e761fe8da0..0eee6361aab 100644 --- a/source/blender/python/generic/bpy_internal_import.h +++ b/source/blender/python/generic/bpy_internal_import.h @@ -44,7 +44,10 @@ #include "compile.h" /* for the PyCodeObject */ #include "eval.h" /* for PyEval_EvalCode */ -PyObject* bpy_text_import( char *name, int *found ); +struct Text; + +PyObject* bpy_text_import( struct Text *text ); +PyObject* bpy_text_import_name( char *name, int *found ); PyObject* bpy_text_reimport( PyObject *module, int *found ); /* void bpy_text_clear_modules( int clear_all );*/ /* Clear user modules */ extern PyMethodDef bpy_import_meth[]; -- cgit v1.2.3