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:
authorCampbell Barton <ideasman42@gmail.com>2009-11-20 18:01:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-11-20 18:01:09 +0300
commit854cc87a80ef8526416b931ef735bc6bacb6ede5 (patch)
tree23daca51096463b272c7669efb0cf06d26272935 /source/blender/python/generic/bpy_internal_import.h
parent320cc0f12a186292078e174f2862a6539ac4d258 (diff)
option to have scripts run on startup for per blendfile UI's
Diffstat (limited to 'source/blender/python/generic/bpy_internal_import.h')
-rw-r--r--source/blender/python/generic/bpy_internal_import.h5
1 files changed, 4 insertions, 1 deletions
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[];