diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-27 18:41:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-27 18:41:26 +0400 |
commit | 699030ceb698f827fe582bf03a78a44ffc283629 (patch) | |
tree | b9bd3afdc7d131f66460fad247135c3ed155a2ff /source/blender/python/generic/bpy_internal_import.h | |
parent | 626f73718631a641fe2d9fe6e2786fc48a341ff7 (diff) |
use const for readonly strings and set some functions to static
Diffstat (limited to 'source/blender/python/generic/bpy_internal_import.h')
-rw-r--r-- | source/blender/python/generic/bpy_internal_import.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/generic/bpy_internal_import.h b/source/blender/python/generic/bpy_internal_import.h index 8bc10234a9b..2ce644715e9 100644 --- a/source/blender/python/generic/bpy_internal_import.h +++ b/source/blender/python/generic/bpy_internal_import.h @@ -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 */ |