use const for readonly strings and set some functions to static
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user