use const for readonly strings and set some functions to static
[blender.git] / source / blender / python / generic / bpy_internal_import.h
index 8bc1023..2ce6447 100644 (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 */