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.c | |
parent | 626f73718631a641fe2d9fe6e2786fc48a341ff7 (diff) |
use const for readonly strings and set some functions to static
Diffstat (limited to 'source/blender/python/generic/bpy_internal_import.c')
-rw-r--r-- | source/blender/python/generic/bpy_internal_import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/generic/bpy_internal_import.c b/source/blender/python/generic/bpy_internal_import.c index ac54cef7d4d..293ade35584 100644 --- a/source/blender/python/generic/bpy_internal_import.c +++ b/source/blender/python/generic/bpy_internal_import.c @@ -124,7 +124,7 @@ PyObject *bpy_text_import(Text *text) return PyImport_ExecCodeModule(modulename, text->compiled); } -PyObject *bpy_text_import_name(char *name, int *found) +PyObject *bpy_text_import_name(const char *name, int *found) { Text *text; char txtname[MAX_ID_NAME-2]; |