Py API: refactor py text compiling into its own function

This commit is contained in:
2014-02-14 22:02:03 +11:00
parent 54dd355cc8
commit 43c478a36a
2 changed files with 31 additions and 33 deletions

View File

@@ -43,6 +43,7 @@ struct Text;
void bpy_import_init(PyObject *builtins);
bool bpy_text_compile(struct Text *text);
PyObject *bpy_text_import(struct Text *text);
PyObject *bpy_text_import_name(const char *name, int *found);
PyObject *bpy_text_reimport(PyObject *module, int *found);