diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-09-15 05:32:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-09-15 05:32:53 +0400 |
commit | ac86c04401686a9d119ea84ad489ca3db7403e5c (patch) | |
tree | 123807fb6ccd3325c9d5b348992be9176eadf688 /source/blender/python/BPY_extern.h | |
parent | 2c31cc4503ee4de8e8c4ff5665ed1e7dbabfb832 (diff) |
added BLI_convertstringcwd, used so command line blendfiles and python scripts can be relative to the current path.
- was alredy doing this for blendfiles, but better to have in its own function.
header_text.c - renamed PATH_MAX, was defined by system includes.
Diffstat (limited to 'source/blender/python/BPY_extern.h')
-rw-r--r-- | source/blender/python/BPY_extern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/BPY_extern.h b/source/blender/python/BPY_extern.h index 3d9b45051fb..4b96ef3fdf0 100644 --- a/source/blender/python/BPY_extern.h +++ b/source/blender/python/BPY_extern.h @@ -94,7 +94,7 @@ extern "C" { int BPY_menu_do_python( short menutype, int event ); int BPY_menu_do_shortcut( short menutype, unsigned short key, unsigned short modifiers ); int BPY_menu_invoke( struct BPyMenu *pym, short menutype ); - void BPY_run_python_script( char *filename ); + void BPY_run_python_script( const char *filename ); int BPY_run_script(struct Script *script); void BPY_free_compiled_text( struct Text *text ); |