use const for readonly strings and set some functions to static

This commit is contained in:
2011-10-27 14:41:26 +00:00
parent 626f737186
commit 699030ceb6
23 changed files with 39 additions and 65 deletions

View File

@@ -49,7 +49,7 @@ struct Text;
void bpy_import_init(PyObject *builtins);
PyObject* bpy_text_import(struct Text *text);
PyObject* bpy_text_import_name(char *name, int *found);
PyObject* bpy_text_import_name(const char *name, int *found);
PyObject* bpy_text_reimport(PyObject *module, int *found);
/* void bpy_text_clear_modules(int clear_all);*/ /* Clear user modules */